Skip to content

NodeSelector value is mangled when passed from YAML to ConfigMap #146

@dasantonym

Description

@dasantonym

If I init my Helm Chart install using:

  nodeSelector:
    - {"node-role.kubernetes.io/worker": "worker"}

Then the value comes out as [map[node-role.kubernetes.io/worker:worker]] and the image puller errors because that's not valid JSON. If I then alter the ConfigMap to use {"node-role.kubernetes.io/worker": "worker"}, it works normally again.

Am I setting the value the wrong way? It doesn't seem to let me pass in the selector as a string value.

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