Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 28 additions & 10 deletions dockerfiles/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,8 @@ spec:
path: /spec/template/spec/containers/0/image
value: {{ECR_REGISTRY}}/identity-idp/idp:{{IDP_CONTAINER_TAG}}
- op: replace
path: /spec/template/spec/containers/0/imagePullPolicy
value: Always
path: /spec/template/spec/initContainers/0/image
value: {{ECR_REGISTRY}}/identity-idp/idp:{{IDP_CONTAINER_TAG}}
- target:
kind: Job
name: migrate-database
Expand All @@ -428,8 +428,8 @@ spec:
path: /spec/template/spec/containers/0/image
value: {{ECR_REGISTRY}}/identity-idp/idp:{{IDP_CONTAINER_TAG}}
- op: replace
path: /spec/template/spec/containers/0/imagePullPolicy
value: Always
path: /spec/template/spec/initContainers/0/image
value: {{ECR_REGISTRY}}/identity-idp/idp:{{IDP_CONTAINER_TAG}}
- target:
kind: Job
name: seed-database
Expand All @@ -438,8 +438,8 @@ spec:
path: /spec/template/spec/containers/0/image
value: {{ECR_REGISTRY}}/identity-idp/idp:{{IDP_CONTAINER_TAG}}
- op: replace
path: /spec/template/spec/containers/0/imagePullPolicy
value: Always
path: /spec/template/spec/initContainers/0/image
value: {{ECR_REGISTRY}}/identity-idp/idp:{{IDP_CONTAINER_TAG}}
# Patch dashboard database setup jobs
- target:
kind: Job
Expand All @@ -448,29 +448,47 @@ spec:
- op: replace
path: /spec/template/spec/containers/0/image
value: {{ECR_REGISTRY}}/identity-dashboard/review:{{DASHBOARD_CONTAINER_TAG}}
- op: replace
path: /spec/template/spec/initContainers/0/image
value: {{ECR_REGISTRY}}/identity-dashboard/review:{{DASHBOARD_CONTAINER_TAG}}
- op: replace
path: /spec/template/spec/containers/0/imagePullPolicy
value: Always
- op: add
path: /spec/template/spec/initContainers/0/imagePullPolicy
value: Always
- target:
kind: Job
name: migrate-dashboard-database
patch: |-
- op: replace
path: /spec/template/spec/containers/0/image
value: {{ECR_REGISTRY}}/identity-dashboard/review:{{DASHBOARD_CONTAINER_TAG}}
- op: replace
path: /spec/template/spec/initContainers/0/image
value: {{ECR_REGISTRY}}/identity-dashboard/review:{{DASHBOARD_CONTAINER_TAG}}
- op: replace
path: /spec/template/spec/containers/0/imagePullPolicy
value: Always
- op: add
path: /spec/template/spec/initContainers/0/imagePullPolicy
value: Always
- target:
kind: Job
name: seed-dashboard-database
patch: |-
- op: replace
path: /spec/template/spec/containers/0/image
value: {{ECR_REGISTRY}}/identity-dashboard/review:{{DASHBOARD_CONTAINER_TAG}}
- op: replace
path: /spec/template/spec/initContainers/0/image
value: {{ECR_REGISTRY}}/identity-dashboard/review:{{DASHBOARD_CONTAINER_TAG}}
- op: replace
path: /spec/template/spec/containers/0/imagePullPolicy
value: Always
- op: add
path: /spec/template/spec/initContainers/0/imagePullPolicy
value: Always
# Patch pivcac database jobs/update crl CronJob
- target:
kind: Job
Expand Down Expand Up @@ -514,8 +532,8 @@ spec:
path: /spec/template/spec/containers/1/image
value: {{ECR_REGISTRY}}/identity-idp/idp:{{IDP_CONTAINER_TAG}}
- op: replace
path: /spec/template/spec/containers/0/imagePullPolicy
value: Always
path: /spec/template/spec/initContainers/0/image
value: {{ECR_REGISTRY}}/identity-idp/idp:{{IDP_CONTAINER_TAG}}
# Patch Worker Image
- target:
kind: Deployment
Expand All @@ -525,8 +543,8 @@ spec:
path: /spec/template/spec/containers/0/image
value: {{ECR_REGISTRY}}/identity-idp/idp:{{IDP_CONTAINER_TAG}}
- op: replace
path: /spec/template/spec/containers/0/imagePullPolicy
value: Always
path: /spec/template/spec/initContainers/0/image
value: {{ECR_REGISTRY}}/identity-idp/idp:{{IDP_CONTAINER_TAG}}
# Patch PIVCAC Image
- target:
kind: Deployment
Expand Down