-
Notifications
You must be signed in to change notification settings - Fork 762
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
feature: added namespace helper #1849
base: main
Are you sure you want to change the base?
Conversation
43c1a44
to
13a5b7d
Compare
@Vad1mo Completed. Sorry about that. |
Hi @Bugs5382 , Would explicitly specify the namespace while you installing satisfy your requirements? like...
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per latest comment by @MinerYang
This PR probably should not be merged into upstream.
I'm blocking this PR until we have better clarity.
So the reason why I request this change as if your doing a helm template output, even specifying the namespace, the default one gets applied. Which is kinda hard when I am using this chart with krustomize and everything else. I updated the chart. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Compelted.
- allows users to override the namespace Signed-off-by: Bugs5382 <[email protected]>
- simplified Signed-off-by: Bugs5382 <[email protected]>
a6e6c8d
to
af621b7
Compare
Hi @Bugs5382 , |
Hi @Bugs5382 , Another thing may need your help and we would appreciate if you could add some UT test cases including this changes here: |
@MinerYang I'll check it out today! |
What is the purpose of overriding a namespace? My question is: Is there a situation where you want to have a different release namespace than an actual install namespace? |
we are too running |
Running |
In our environment, we use strict GitOps approach using ArgoCD. Most of installed applications are templated using helm template command which does not offer the possibility to use .Release variables as helm install does. Using -n/--namespace is an option for small projects, but is not viable for bigger helm charts, where each module gets its own namespace (e.g. when using umbrella helm chart). namespaceOverride would be greatly appreciated. |
So I am working on a project that puts Harbor inside the same namespace as the project, instead of being in default. I was looking trhough the helm chart and noticed that there was no way to override the namespace. Thus, I wrote this up. I tested it locally, and everything seems to be working A-OK!
Thanks!!!