Skip to content

Commit

Permalink
feat: switch initContainer to Fortress repo (#14845)
Browse files Browse the repository at this point in the history
  • Loading branch information
artsyjian authored Nov 14, 2024
1 parent c811ab3 commit 28d6246
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
14 changes: 10 additions & 4 deletions hokusai/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ spec:
spec:
initContainers:
- name: setenv
image: 585031190124.dkr.ecr.us-east-1.amazonaws.com/opstools:production
image: 585031190124.dkr.ecr.us-east-1.amazonaws.com/fortress:production
imagePullPolicy: Always
command:
- python
- src/load_secrets_from_vault/load.py
- src/load/load.py
- kubernetes
- production
- force
envFrom:
Expand All @@ -59,6 +60,8 @@ spec:
fieldRef:
fieldPath: metadata.labels['app.kubernetes.io/version']
envFrom:
- configMapRef:
name: secrets-config
- configMapRef:
name: force-environment
volumeMounts:
Expand Down Expand Up @@ -145,11 +148,12 @@ spec:
spec:
initContainers:
- name: setenv
image: 585031190124.dkr.ecr.us-east-1.amazonaws.com/opstools:production
image: 585031190124.dkr.ecr.us-east-1.amazonaws.com/fortress:production
imagePullPolicy: Always
command:
- python
- src/load_secrets_from_vault/load.py
- src/load/load.py
- kubernetes
- production
- force
envFrom:
Expand All @@ -172,6 +176,8 @@ spec:
fieldRef:
fieldPath: metadata.labels['app.kubernetes.io/version']
envFrom:
- configMapRef:
name: secrets-config
- configMapRef:
name: force-environment
volumeMounts:
Expand Down
14 changes: 10 additions & 4 deletions hokusai/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ spec:
spec:
initContainers:
- name: setenv
image: 585031190124.dkr.ecr.us-east-1.amazonaws.com/opstools:staging
image: 585031190124.dkr.ecr.us-east-1.amazonaws.com/fortress:staging
imagePullPolicy: Always
command:
- python
- src/load_secrets_from_vault/load.py
- src/load/load.py
- kubernetes
- staging
- force
envFrom:
Expand All @@ -63,6 +64,8 @@ spec:
fieldRef:
fieldPath: metadata.labels['app.kubernetes.io/version']
envFrom:
- configMapRef:
name: secrets-config
- configMapRef:
name: force-environment
volumeMounts:
Expand Down Expand Up @@ -148,11 +151,12 @@ spec:
spec:
initContainers:
- name: setenv
image: 585031190124.dkr.ecr.us-east-1.amazonaws.com/opstools:staging
image: 585031190124.dkr.ecr.us-east-1.amazonaws.com/fortress:staging
imagePullPolicy: Always
command:
- python
- src/load_secrets_from_vault/load.py
- src/load/load.py
- kubernetes
- staging
- force
envFrom:
Expand All @@ -179,6 +183,8 @@ spec:
fieldRef:
fieldPath: metadata.labels['app.kubernetes.io/version']
envFrom:
- configMapRef:
name: secrets-config
- configMapRef:
name: force-environment
volumeMounts:
Expand Down

0 comments on commit 28d6246

Please sign in to comment.