Skip to content

Commit

Permalink
Merge pull request #32501 from hmcts/aat-image-policy
Browse files Browse the repository at this point in the history
AAT Image policy added
  • Loading branch information
AlokDatta authored Jun 21, 2024
2 parents 9e253fb + 5abb799 commit 38cd3fe
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions apps/private-law/prl-citizen-frontend/aat-image-policy.yaml
Original file line number Diff line number Diff line change
@@ -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<ts>[0-9]+)'
extract: '$ts'
policy:
alphabetical:
order: asc
imageRepositoryRef:
name: prl-citizen-frontend
2 changes: 1 addition & 1 deletion apps/private-law/prl-citizen-frontend/aat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38cd3fe

Please sign in to comment.