dongwoo.kim created FLINK-33066:
-----------------------------------
Summary: Enable to inject environment variable from
secret/configmap to operatorPod
Key: FLINK-33066
URL: https://issues.apache.org/jira/browse/FLINK-33066
Project: Flink
Issue Type: Improvement
Components: Kubernetes Operator
Reporter: dongwoo.kim
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*
{code:java}
{{- range $k, $v := .Values.operatorPod.env }}
- name: {{ $v.name | quote }}
value: {{ $v.value | quote }}
{{- end }}{code}
*Proposed template*
1)
{code:java}
{{- with .Values.operatorPod.env }}
{{- toYaml . | nindent 12 }}
{{- end }}
{code}
2) create extra config, *Values.operatorPod.envFrom* and utilize this
I'd be happy to implement this update if it's approved.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)