Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dasantonym opened this issue Jun 12, 2023 · 0 comments
Open

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

dasantonym opened this issue Jun 12, 2023 · 0 comments

Comments

@dasantonym
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant