deploy(updater): gate public UpdateCenter host

This commit is contained in:
Andrew Stoltz
2026-06-17 23:47:07 -05:00
parent 63fde0a593
commit b7d34da3d6
6 changed files with 23 additions and 13 deletions

View File

@@ -53,13 +53,17 @@
"name": "FlowerCore__Updater__BundleStorage__LocalFs__RootDirectory",
"value": "/data/bundles"
},
{
"name": "FlowerCore__Updater__PublicShares__RequirePublicVisibilityOnPublicHosts",
"value": "true"
},
{
"name": "FlowerCore__Updater__PublicShares__Links__0__Code",
"value": "8f3c2a9e7d41"
{
"name": "FlowerCore__Updater__PublicShares__RequirePublicVisibilityOnPublicHosts",
"value": "true"
},
{
"name": "FlowerCore__Updater__PublicShares__RequireShareLinkOnPublicHosts",
"value": "true"
},
{
"name": "FlowerCore__Updater__PublicShares__Links__0__Code",
"value": "8f3c2a9e7d41"
},
{
"name": "FlowerCore__Updater__PublicShares__Links__0__AppId",
@@ -195,7 +199,7 @@
"value": "26843545600"
}
],
"image": "localhost/fc-updater-web:v20260617-sec5-913c6a9",
"image": "localhost/fc-updater-web:v20260618-public-exposure-6c0d0e4",
"imagePullPolicy": "Never",
"securityContext": {
"allowPrivilegeEscalation": false,

View File

@@ -12,7 +12,7 @@
"routes": [
{
"kind": "Rule",
"match": "(Host(`update.flowercore.io`) || Host(`updates.flowercore.io`)) && (Method(`GET`) || Method(`HEAD`) || Method(`POST`) || Method(`OPTIONS`))",
"match": "(Host(`update.flowercore.io`) || Host(`updates.flowercore.io`)) && (Method(`GET`) || Method(`HEAD`))",
"priority": 100,
"services": [
{