ignore specified resource during adding namespace #5433
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
triage/out-of-scope
Indicates an issue or PR is not a fit for Kustomize's scope and/or principles
Eschewed features
What would you like to have added?
When a namespace is specified in kustomization.yaml, provide an option to exclude certain types of resources from being modified.
Why is this needed?
if specified namespace, any user defined resource (crd) will be set a namespace, however, a cluster scope CRD with namespace will cause a error.
Can you accomplish the motivating task without this feature, and if so, how?
No
What other solutions have you considered?
Add a ignoreGvks field in namespace transformer.
I have pulled a request to slove this, not sure is it a good way.
And I'm willing to help if this feature is accepted.
Anything else we should know?
this feature has been discussed in #552, but closed with no improvement.
there is a pr to slove this(maybe not right) #5431
Feature ownership
The text was updated successfully, but these errors were encountered: