Document the ZAD setup a staging deployment needs #354
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "staging-ingress-docs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Login on the new staging deployment failed because a fresh ZAD deployment gets one subdomain per component. The SPA's
/api/*calls then hit the frontend's own nginx, which answersindex.htmlwith HTTP 200, so nothing reports an error.The hostname layout lives in the deployment-layer
publish-on-webconfig. Production got it by hand at go-live (domain-format: subdomain); the deploy job cannot set it, becausezad deployment createsends only a name and an image per component. Setting that config on staging withzad service config set publish-on-web --target deploymentput both components onwaggle-staging.rijksapp.dev, and login and logout work there now.The docs name that command plus three traps found on the way:
zad component updatechanges production as well.WAGGLE_PUBLIC_HOSTis an alias to$PUBLIC_HOSTand needs no setting;zad env listdoes not show aliases.rijksapp.dev) waits for an approval, and the deployment keeps the per-component layout until it is granted.f1002cf4b61b763b4dc1Document the ingress a staging deployment needsto Document the ZAD setup a staging deployment needs