Replies: 2 comments 1 reply
-
I have the exact same problem. Apparently namespace transformer is applied AFTER components and replacement. |
Beta Was this translation helpful? Give feedback.
1 reply
-
For anyone else stumbling across, this is the order of execution for the bulitins: kustomize/api/internal/plugins/builtinhelpers/builtins.go Lines 14 to 34 in 447a609 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can someone tell why kustomize complains that the fieldPath
.metadata.namespace
is missing even though I set the "namespace" in my kustomization.yaml ?I have a base kustomize with a single resource
I have a prod overlay that adds an ingress to the flink deployment
The "app", uses the prod overlay, adds a namespace, does a irrelevant patch to the spec and refers a component that alters the dns entry in ingress
The component is basically using "replacements" to alter the ingress
For some reason, kustomize is complaining that .medata.namespace does not exist. Even though in the app kustomization.yaml I've set the "namespace"
Am I missing something? The DNS subdomain HAS to be that of the provided namespace which is only known in the "app" kustomization
Beta Was this translation helpful? Give feedback.
All reactions