You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(infrastructure): make development previews reachable from the local portal
Local kind serves the apps Gateway on a forwarded port (10443), but the
synthesized status.url implied 443 and the hub CSP still allowed only the
deleted preview-gateway origin — so the portal preview iframe pointed at a
dead port AND was blocked from framing.
- New ${kedge.appPublicPort} token (KEDGE_APP_PUBLIC_PORT, ":<port>" suffix,
empty in prod): application template appends it to status.url/redirectURL.
- Tiltfile.cluster: hub portalFrameSources now allows the local apps domain
(https://*.apps.127.0.0.1.sslip.io:10443) instead of the dead
*.preview.localhost origin; infra provider gets KEDGE_APP_PUBLIC_PORT.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: providers/infrastructure/docs/template-conventions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ invalid field into a materialized resource.
17
17
|---|---|---|
18
18
|**Per-instance, configurable** (image, version, size, replicas) |`spec.schema` field **with a `default`**; the resource references `${schema.spec.<field>}`|`simple-webapp.spec.image` (`default: "nginx:latest"`); `postgres-database.spec.version`|
19
19
|**Fixed sidecar / tooling image** (not user-facing) |**hardcoded literal** in the resource | the control-token `bitnami/kubectl` job (database, redis, application); `quay.io/oauth2-proxy/oauth2-proxy:v7.6.0`|
20
-
|**Platform-global, no universal default**| a reserved `${kedge.*}` substitution token, resolved by the kro backend from env | the exposure Gateway parent:`${kedge.gatewayName}` / `${kedge.gatewayNamespace}` (the **only** tokens that exist) |
20
+
|**Platform-global, no universal default**| a reserved `${kedge.*}` substitution token, resolved by the kro backend from env | the exposure Gateway parent `${kedge.gatewayName}` / `${kedge.gatewayNamespace}`; the dev-overlay images `${kedge.devImage.<toolchain>}` / `${kedge.devAgentImage}`; the exposure-URL port suffix `${kedge.appPublicPort}` (empty in prod, `:10443` on local kind) |
0 commit comments