diff --git a/templates/deployment.yaml b/templates/deployment.yaml index e1f8647ff1e0266b72750c35db2b561a75607efb..d2721f7b2f3fbd5734eb635aa5bdb4e932b6ddbc 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -27,6 +27,11 @@ spec: {{ toYaml .Values.podAnnotations | indent 8 }} {{- end }} spec: + volumes: + - name: mnt + configMap: + name: caddy + defaultMode: 420 securityContext: {{- include "app.securitycontext" . | nindent 8 }} imagePullSecrets: @@ -39,6 +44,9 @@ spec: {{- if .Values.extraVars }} {{ toYaml .Values.extraVars | indent 8 }} {{- end }} + volumeMounts: + - name: mnt + mountPath: /etc/caddy ports: {{- if .Values.metrics.enabled }} - name: monitoring