diff --git a/helm/sidata/templates/deployment.yaml b/helm/sidata/templates/deployment.yaml index 98e73da..a8e7b00 100644 --- a/helm/sidata/templates/deployment.yaml +++ b/helm/sidata/templates/deployment.yaml @@ -24,6 +24,11 @@ spec: - name: nginx-config-volume mountPath: /etc/nginx/http.d/default.conf subPath: default.conf + env: + {{- range $key, $value := .Values.env }} + - name: {{ $key }} + value: {{ $value | quote }} + {{- end }} volumes: - name: nginx-config-volume configMap: