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

Creating Resources in multiple namespace #143

Closed
suvaanshkumar opened this issue Apr 23, 2024 · 3 comments
Closed

Creating Resources in multiple namespace #143

suvaanshkumar opened this issue Apr 23, 2024 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@suvaanshkumar
Copy link
Contributor

Issue: Helmify does not support a list of Yaml files with multiple namespace
Situation: When I have a list of kubernetes resources in yaml and all of them have specific namespaces for them and the total number of unique namespaces is more than 1. When I use helmify to generate helm charts, I don't get any namespace in metadata for any resources.

Expectation:
In the helm chart generated, We get the namespace in the metadata in the chart/templates/yaml file.

Steps to Reproduce :

Step1: We have two yaml files as below-
nginx-service.txt
nginx-deployment.txt
Please Note: The extension of the above have been changed to txt because yaml is not yet supported by github.

Step2: helmify -f samplechart
And then you will observe the Helm chart created with no namespaces in metadata in templates/nginx-service.yaml and templates/nginx-deployment.yaml

@arttor arttor added enhancement New feature or request help wanted Extra attention is needed labels Apr 24, 2024
@arttor
Copy link
Owner

arttor commented Apr 24, 2024

true, multi-ns charts are not supported right now. Unfortunately, I don't have capacity to implement it right now, but i can help with review if someone volunteers implementing it.

@suvaanshkumar
Copy link
Contributor Author

Hi @arttor ,
Thanks for your response.
I will try to make these changes. Just started with it here. Will keep you updated in case I will be able to make this contribution.

@arttor
Copy link
Owner

arttor commented May 22, 2024

changes are available in v0.4.13 release

@arttor arttor closed this as completed May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants