-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Kustomize patches overwritten by namespace #5626
Comments
This issue is currently awaiting triage. SIG CLI takes a lead on issue triage for this repo, but any Kubernetes member can accept issues by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Replacing the namespace on the subject of a RoleBinding where the subject name is
You may be able to configure a namespace transformer to use some other behaviour here (some details/discussion in this issue: #629) As for why it works with a |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/lifecycle frozen
|
BTW, I found a way to do make a kustomization after namespace transformation was done: https://stackoverflow.com/a/79296673/633961 |
What happened?
We would like to patch a
rolebinding.yaml
with kustomize. The namespace must be set in the meta information and the namespace must be patched in the subjcts area, as the service account can be in a different namespace.With the old
patchesJson6902
it works.What did you expect to happen?
cI expect the namespace to be in the meta information and the namespace we want to batch in the subject.
How can we reproduce it (as minimally and precisely as possible)?
patches
failspatchesJson6902
worksExpected output
Actual output
patches
failspatchesJson6902
worksKustomize version
4.5.4 & 5.3.0
Operating system
Linux
The text was updated successfully, but these errors were encountered: