apps: pin every first-party site image to an immutable ref
Replace ':latest' + imagePullPolicy: Always on all seven site images with a pinned tag (or digest) and IfNotPresent, so the image a Deployment runs is chosen by this repo and rolled by Flux, not by CI patching restartedAt. Every pin is the image that was already running, so the change is a no-op for visitors: each pinned tag's manifest/config digest equals the running pod's imageID (siriusdevops-* f0dde2f4, growth-site ea306b7, growth-portal d9e558c4, phs-site 5b590cd). sirius-growth-contact and phs-contact have no CI build path (no workflow has ever pushed anything but :latest for them), so they are pinned by @sha256: digest rather than inventing a pipeline; documented in docs/site-image-pinning.md along with the operator flow.
This commit is contained in:
parent
5825714bcd
commit
5273a993f2
8 changed files with 128 additions and 14 deletions
|
|
@ -21,8 +21,8 @@ spec:
|
|||
kubernetes.io/hostname: siriussec
|
||||
containers:
|
||||
- name: contact-api
|
||||
image: forgejo.siriusdevops.com/sirius/siriusdevops-contact:latest
|
||||
imagePullPolicy: Always
|
||||
image: forgejo.siriusdevops.com/sirius/siriusdevops-contact:f0dde2f48c8224fb80d801ecb0d155c93332dc13
|
||||
imagePullPolicy: IfNotPresent
|
||||
command: ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8090"]
|
||||
ports:
|
||||
- containerPort: 8090
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@ spec:
|
|||
kubernetes.io/hostname: siriussec
|
||||
containers:
|
||||
- name: nginx
|
||||
image: forgejo.siriusdevops.com/sirius/siriusdevops-site:latest
|
||||
imagePullPolicy: Always
|
||||
image: forgejo.siriusdevops.com/sirius/siriusdevops-site:f0dde2f48c8224fb80d801ecb0d155c93332dc13
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- containerPort: 80
|
||||
name: http
|
||||
|
|
|
|||
Loading…
Reference in a new issue