[ https://issues.apache.org/jira/browse/FLINK-33066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gyula Fora reassigned FLINK-33066: ---------------------------------- Assignee: dongwoo.kim > 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 > Assignee: dongwoo.kim > Priority: Minor > > 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) Modify template like below > {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. > Thanks in advance. -- This message was sent by Atlassian Jira (v8.20.10#820010)