-
Notifications
You must be signed in to change notification settings - Fork 137
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
Set empty value for NodeSelector #106
Comments
Hi, @shubhamcoc, thank you for submitting the issue. I forgot to mention it in the documentation but i try to follow these rules for introducing new issues:
|
Can your problem be solved by adding We can add flag for empty |
Hi @arttor, If we add to the source manifest, and the nodeSelector is empty valued. helmify is omitting it in the generated charts and value.yaml file. |
can you please give more info about your use-case? For example, if you are using kubebuilder project with kustomize, then nodeSelector maybe be somehow supported in your kustomize config. We can introduce a flag adding nodeSelector to a chart (disabled by default) but in this case, it makes sense to cover other pod scheduling features like affinity. What do you think? |
Hi @arttor, the nodeSelector field is present in the source manifest. It is getting omitted because it is empty. (For example: nodeSelector: {}), now here the map len is zero but the field is present. I hope it clarifies your doubt. |
@shubhamcoc in this case we can replace |
@arttor, Yes you are right. Let me change in the PR as well. |
@arttor, done with the changes. Can you review it once? Thanks!! |
@shubhamcoc thank you for your contribution. changes are available in v0.4.1 release. |
Is it possible to set empty value for NodeSelector?
Use case: If we want to generate helm chart with default values as empty for NodeSelector.
Let me know, if it is possible currently.
The text was updated successfully, but these errors were encountered: