Using templatfile or yamlencode for kubernetes.jobmanager.annotations Map both result in the operator reporting
[WARN ] Error while trying to split key and value in configuration file /opt/flink/conf/flink-conf.yaml:55: Line is not a key-value pair (missing space after ':'?)
It seems an inline literal Map works fine but good luck getting that to be rendered using templatefile or yamlencode: kubernetes.jobmanager.annotations: {"prometheus.io/scrape": true, "prometheus.io/port": 9999}
Problem
Using
templatfile
oryamlencode
forkubernetes.jobmanager.annotations
Map both result in the operator reportingIt seems an inline literal Map works fine but good luck getting that to be rendered using
templatefile
oryamlencode
:kubernetes.jobmanager.annotations: {"prometheus.io/scrape": true, "prometheus.io/port": 9999}
Background thread: https://github.com/pangeo-forge/pangeo-forge-cloud-federation/pull/6#discussion_r1417992014