Skip to content

Commit

Permalink
mount
Browse files Browse the repository at this point in the history
Signed-off-by: André Bauer <andre.bauer@staffbase.com>
  • Loading branch information
monotek committed Jun 27, 2024
1 parent 6de0aad commit b8ccb2b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions charts/visual-regression-tracker/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ spec:
securityContext:
{{- toYaml .Values.vrtComponents.ui.securityContext | nindent 12 }}
volumeMounts:
- name: env-config
- name: env
mountPath: /usr/share/nginx/html/static/imageUploads
- name: env-config
- name: env
mountPath: /usr/share/nginx/html/env.sh
subPath: env.sh
- name: env-config
Expand All @@ -169,6 +169,10 @@ spec:
{{- toYaml .Values.topologySpreadConstraints | nindent 8 }}
{{- end }}
volumes:
- name: env
configMap:
name: {{ include "visual-regression-tracker.fullname" . }}-env-config
defaultMode: 0777
- name: env-config
secret:
secretName: {{ include "visual-regression-tracker.fullname" . }}-env-config
Expand Down

0 comments on commit b8ccb2b

Please sign in to comment.