Problem
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}
Background thread: #6 (comment)