nginx sidecar that runs next to an app container in the same pod. nginx listens on port 80, redirects HTTP to HTTPS (using X-Forwarded-Proto from the GCP load balancer) and forwards HTTPS traffic to the app container on port 8080.
Used by admin, credentials_api, crm-sender, flow, inbound-leads, lead-store and public-gateway (kube/deployments/*.yml in each repo).
eu.gcr.io/platform-156214/https-redirect-proxy:<nginx version>-<revision>, e.g. 1.31.8-b
- nginx version:
ARG NGINX_VERSIONin theDockerfile - revision: the
REVISIONfile
Built and pushed by Buildkite on merge to master. Tags are never overwritten: a build fails if the tag already exists.
Only changes to files that go into the image (listed under if_changed in .buildkite/pipeline.yml) build a new image and need a new tag. Other changes, like this README, skip the tag check and the push.
- Make the change:
- nginx upgrade: change
NGINX_VERSIONin theDockerfileand setREVISIONtoa - config change: bump
REVISION(b→c)
- nginx upgrade: change
- Open a PR.
Check image tag is newfails if you forgot to bump. - Merge. Buildkite pushes the new tag.
- Update the image tag in the services listed above.