diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 4c8b24a..5dcd2a6 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -44,6 +44,11 @@ spec: {{- if .Values.deployment.env }} env: {{- toYaml .Values.deployment.env | nindent 12 }} + envFrom: + {{- if .Values.secrets.data }} + - secretRef: + name: {{ include "mychart.fullname" . }}-secrets + {{- end }} {{- end }} {{- with .Values.deployment.imagePullSecrets }} imagePullSecrets: