This looks like an indentation error, just indent everything by two extra spaces after line 13.
On Mon, Mar 18, 2024 at 3:19 AM Suyash Jaiswal <suyash.jais...@hitachids.com> wrote: > Hi Yaroslav, > > > > Thanks for the swift reply, I understand that it goes under *podTemplate, > *but can I get some sample where configmap is used because I am not able > to get the actual yaml structure for using configmap. > > > > I tried yaml structure below but, I am getting error. > > > > > > error: error parsing flink-117.yaml: error converting YAML to JSON: yaml: > line 14: did not find expected '-' indicator > > > > Thanks, > > Suyash Jaiswal > > > > > > *From:* Yaroslav Tkachenko <yaros...@goldsky.com> > *Sent:* Monday, March 18, 2024 3:19 PM > *To:* Suyash Jaiswal <suyash.jais...@hitachids.com> > *Cc:* user@flink.apache.org > *Subject:* Re: Read configmap data in FlinkDeployment > > > > ***** EXTERNAL EMAIL ***** > > Hi Suyash, > > > > You can expose your configmap values as environment variables using the > *podTemplate* parameter (see: > https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-release-1.8/docs/custom-resource/reference/). > This can be configured individually for TaskManager, JobManager or for > both. > > > > On Mon, Mar 18, 2024 at 2:36 AM Suyash Jaiswal < > suyash.jais...@hitachids.com> wrote: > > Hi All, > > > > I was trying to deploy Apache-Flink in my EKS cluster. I can successfully > deploy it, but now I want to expose some variable via the configmap, these > variables are used by my sessionjob. > > I need help with yaml structure of how/where to expose the configmap > variables to make It visible for the sessionjob. > > > > My Sample.jar file reads some variables from a configmap, where do I > configure this in my deployment yaml. > > > > Deployment: > > > > > > SessionJob: > > > >