A minimal Node.js HTTP service for exercising the managed application platform.
pnpm test
pnpm startThe service listens on port 8080 by default and exposes /livez and
/readyz health endpoints. Other requests return an HTML page containing the
selected EXAMPLE_MESSAGE, ENVIRONMENT, INHERITED_VALUE,
OVERRIDDEN_VALUE, and PREVIEW_ONLY_VALUE environment variables. The HTML
response includes a closing </body> tag so the Kubernetes example can test
response-body injection. Other process environment values are never included.
The container workflow delegates image publication and instance updates to the reusable Kubernetes delivery workflow. The branch names have fixed meanings; their order in the workflow does not matter:
- a push to
mainupdates production; - a push to
testingupdates testing; - opening or updating a same-repository pull request updates its preview; and
- closing the pull request removes its preview.
Other pushed branches do not invoke the workflow.
Images are published to GitHub Container Registry and deployed only by immutable
digest. The workflow needs the KUBERNETES_APP_ID and
KUBERNETES_APP_PRIVATE_KEY repository secrets to dispatch the restricted
Kubernetes workflow.