Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
Hello, I've been working with the Flink Kubernetes operator and noticed that the operatorPod.env only allows for simple key-value pairs and doesn't support Kubernetes valueFrom syntax.
How about changing template to support more various k8s syntax?
Current template
{{- range $k, $v := .Values.operatorPod.env }} - name: {{ $v.name | quote }} value: {{ $v.value | quote }} {{- end }}
Proposed template
1) Modify template like below
{{- with .Values.operatorPod.env }} {{- toYaml . | nindent 12 }} {{- end }}
2) create extra config, Values.operatorPod.envFrom and utilize this
I'd be happy to implement this update if it's approved.
Thanks in advance.
Attachments
Issue Links
- links to