{{- if .Values.environment }}
---
apiVersion: "v1"
kind: "Secret"
metadata:
  name: "{{ include "common.names.fullname" . }}-environment"
  labels:
    {{- include "common.labels.standard" . | nindent 4 }}
stringData:
  # Additional environment variables
  {{- range $key, $value := .Values.environment }}
  {{ $key }}: {{ $value | quote }}
  {{- end }}
...
{{- end }}
