Skip to content

kubernetes.jobmanager.annotations result in parse error #7

@ranchodeluxe

Description

@ranchodeluxe

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions