Replies: 5 comments
-
can confirm able to recreate the issue |
Beta Was this translation helpful? Give feedback.
-
+1, the same issue but for another CRD(servicemonitor). |
Beta Was this translation helpful? Give feedback.
-
https://github.com/kubernetes-sigs/kustomize/blob/master/examples/transformerconfigs/crd/README.md |
Beta Was this translation helpful? Give feedback.
-
Hi @felixrb86, Kustomize only understands native Kubernetes objects. Because @kuzm1ch's comment #5295 (comment) is a great solution to your problem. This solution tells Kustomize to operate on specific fields of this new resource that Kustomize does not know about. Does this solution work for you? Converting to GitHub discussion, as this is not a bug, but instead more of a support question. |
Beta Was this translation helpful? Give feedback.
-
/remove-kind bug |
Beta Was this translation helpful? Give feedback.
-
What happened?
I need to apply the
commonLabels in spec.selector.matchLabels in the Rollouts file.
What did you expect to happen?
It have to add the matchLabels in both files (deployment.yml and rollout.yml)
How can we reproduce it (as minimally and precisely as possible)?
Expected output
Actual output
Kustomize version
v5.1.0
Operating system
MacOS
Beta Was this translation helpful? Give feedback.
All reactions