Skip to content

Commit

Permalink
Merge pull request #33953 from hmcts/FPET-1115
Browse files Browse the repository at this point in the history
FPET-1115-added login to bring up pods for fis-bulk-scan-api
  • Loading branch information
mohitvijay45 authored Aug 28, 2024
2 parents 53fb6cd + 663173c commit 3eafd18
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/fis/automation/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: Kustomization
resources:
- ../fis-bulk-scan-api/image-repo.yaml
- ../fis-bulk-scan-api/image-policy.yaml
- ../fis-bulk-scan-api/demo-image-policy.yaml
- ../fis-ds-web/image-repo.yaml
- ../fis-ds-web/image-policy.yaml
- ../fis-cos-api/image-repo.yaml
Expand Down
1 change: 1 addition & 0 deletions apps/fis/demo/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ patches:
- path: ../../fis-ds-update-web/demo.yaml
- path: ../../fis-ds-web/demo.yaml
- path: ../../serviceaccount/demo.yaml
- path: ../../fis-bulk-scan-api/demo.yaml
15 changes: 15 additions & 0 deletions apps/fis/fis-bulk-scan-api/demo-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: demo-fis-bulk-scan-api
annotations:
hmcts.github.com/prod-automated: disabled
spec:
filterTags:
pattern: '^pr-206-[a-f0-9]+-(?P<ts>[0-9]+)'
extract: '$ts'
policy:
alphabetical:
order: asc
imageRepositoryRef:
name: fis-bulk-scan-api
2 changes: 1 addition & 1 deletion apps/fis/fis-bulk-scan-api/demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ spec:
releaseName: fis-bulk-scan-api
values:
java:
image: hmctspublic.azurecr.io/fis/bulk-scan-api:prod-d5d9276-20221103113437 #{"$imagepolicy": "flux-system:fis-bulk-scan-api"}
image: hmctspublic.azurecr.io/fis/bulk-scan-api:pr-206-a538089-20240823145839 #{"$imagepolicy": "flux-system:demo-fis-bulk-scan-api"}

0 comments on commit 3eafd18

Please sign in to comment.