Skip to content

Commit

Permalink
Merge pull request #673 from artsy/mc-jones/fix-config-syntax
Browse files Browse the repository at this point in the history
fix: hokusai secret config and syntax
  • Loading branch information
mc-jones authored Dec 9, 2024
2 parents 0f23917 + a035015 commit f36ac25
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
15 changes: 8 additions & 7 deletions hokusai/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
fieldPath: metadata.labels['app.kubernetes.io/version']
envFrom:
- configMapRef:
name: secrets-config
name: secrets-config
- configMapRef:
name: horizon-environment
volumeMounts:
Expand Down Expand Up @@ -113,7 +113,7 @@ spec:
options:
- name: ndots
value: '1'
serviceAccount: horizon
serviceAccountName: horizon
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down Expand Up @@ -246,9 +246,6 @@ spec:
volumeMounts:
- name: data
mountPath: /home/deploy/data
- name: secrets
mountPath: /secrets
readOnly: true
containers:
- name: horizon-refresh-comparisons-cron
image: 585031190124.dkr.ecr.us-east-1.amazonaws.com/horizon:production
Expand All @@ -261,6 +258,9 @@ spec:
volumeMounts:
- name: data
mountPath: /home/deploy/data
- name: secrets
mountPath: /secrets
readOnly: true
envFrom:
- configMapRef:
name: secrets-config
Expand All @@ -276,7 +276,7 @@ spec:
claimName: horizon-refresh-comparisons-cron-data
- name: secrets
emptyDir: {}
serviceAccount: horizon
serviceAccountName: horizon
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down Expand Up @@ -335,8 +335,9 @@ spec:
volumeMounts:
- name: secrets
mountPath: /secrets
readOnly: true
restartPolicy: Never
serviceAccount: horizon
serviceAccountName: horizon
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down
5 changes: 3 additions & 2 deletions hokusai/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ spec:
claimName: horizon-refresh-comparisons-cron-data
- name: secrets
emptyDir: {}
serviceAccount: horizon
serviceAccountName: horizon
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down Expand Up @@ -341,8 +341,9 @@ spec:
volumeMounts:
- name: secrets
mountPath: /secrets
readOnly: true
restartPolicy: Never
serviceAccount: horizon
serviceAccountName: horizon
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down

0 comments on commit f36ac25

Please sign in to comment.