-
Notifications
You must be signed in to change notification settings - Fork 10
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
ResourceSet resources namespace should default to current namespace? #183
Comments
It's the same as with a Flux Kustomization, it's up to the user to define a namespace and we don't do what kubectl does where things end in |
Trying to put anything in the |
Maybe this could go under |
Yes, that sounds like a good spot for this! ❤ Maybe also add |
Another option would be to expose the ResourceSet metadata as template vars. So you could use these anywhere in
You would still need to set namespace everywhere, but instead of a hardcoded value in templates, it would come from the ResourceSet metadata. |
Could we have both the |
No this would be a breaking change, |
Then we could still have both, but then we would override with |
E.g. if |
During my initial experiments with the new
ResourceSet
, I was surprised to see that there was no default namespace applied to theResourceSet
resources. It is not obvious that it should have this default, because I imagine someone would like to manage cluster-scoped resources. But as a user, I would expect that a namespaced resource likeResourceSet
would normally manage resources in the same namespace by default.The text was updated successfully, but these errors were encountered: