diff --git a/apps/private-law/prl-citizen-frontend/aat-image-policy.yaml b/apps/private-law/prl-citizen-frontend/aat-image-policy.yaml new file mode 100644 index 000000000000..118c3affb791 --- /dev/null +++ b/apps/private-law/prl-citizen-frontend/aat-image-policy.yaml @@ -0,0 +1,15 @@ +apiVersion: image.toolkit.fluxcd.io/v1beta1 +kind: ImagePolicy +metadata: + name: aat-prl-citizen-frontend + annotations: + hmcts.github.com/prod-automated: disabled +spec: + filterTags: + pattern: '^pr-1145-[a-f0-9]+-(?P[0-9]+)' + extract: '$ts' + policy: + alphabetical: + order: asc + imageRepositoryRef: + name: prl-citizen-frontend diff --git a/apps/private-law/prl-citizen-frontend/aat.yaml b/apps/private-law/prl-citizen-frontend/aat.yaml index d4e73c4e92a6..fc0296e572d6 100644 --- a/apps/private-law/prl-citizen-frontend/aat.yaml +++ b/apps/private-law/prl-citizen-frontend/aat.yaml @@ -6,7 +6,7 @@ metadata: spec: values: nodejs: - image: hmctspublic.azurecr.io/prl/citizen-frontend:pr-1145-b63f378-20240617170455 #{"$imagepolicy": "flux-system:demo-prl-citizen-frontend"} + image: hmctspublic.azurecr.io/prl/citizen-frontend:pr-1145-b63f378-20240617170455 #{"$imagepolicy": "flux-system:aat-prl-citizen-frontend"} cpuLimits: "1000m" cpuRequests: "500m" readinessDelay: 45