Kustomize patch doesn’t patch base values – GKE Managed Certs
I’m trying to “templatize” the K8s manifests I currently use to generate my Google managed certificates on GKE. When I run kustomize build it runs successfully, but regardless of what patching type I use, the returned yaml only shows the base configuration, none of the patched values are reflected in the build output. I’ve tried both strategic merge patching and JSON6902 patching. I’ve tried including the path to a patch file as well as doing it directly in the kustomization.yaml using both patches:
and patchesJson6902:
as well as applying kustomize edit fix and results are all the same. The files below are my most recent attempt using patchesJson6902:
and a kustomization.yaml in-line patch.
Kustomize patch doesn’t patch base values – GKE Managed Certs
I’m trying to “templatize” the K8s manifests I currently use to generate my Google managed certificates on GKE. When I run kustomize build it runs successfully, but regardless of what patching type I use, the returned yaml only shows the base configuration, none of the patched values are reflected in the build output. I’ve tried both strategic merge patching and JSON6902 patching. I’ve tried including the path to a patch file as well as doing it directly in the kustomization.yaml using both patches:
and patchesJson6902:
as well as applying kustomize edit fix and results are all the same. The files below are my most recent attempt using patchesJson6902:
and a kustomization.yaml in-line patch.
Kustomize patch doesn’t patch base values – GKE Managed Certs
I’m trying to “templatize” the K8s manifests I currently use to generate my Google managed certificates on GKE. When I run kustomize build it runs successfully, but regardless of what patching type I use, the returned yaml only shows the base configuration, none of the patched values are reflected in the build output. I’ve tried both strategic merge patching and JSON6902 patching. I’ve tried including the path to a patch file as well as doing it directly in the kustomization.yaml using both patches:
and patchesJson6902:
as well as applying kustomize edit fix and results are all the same. The files below are my most recent attempt using patchesJson6902:
and a kustomization.yaml in-line patch.
Kustomize patch doesn’t patch base values – GKE Managed Certs
I’m trying to “templatize” the K8s manifests I currently use to generate my Google managed certificates on GKE. When I run kustomize build it runs successfully, but regardless of what patching type I use, the returned yaml only shows the base configuration, none of the patched values are reflected in the build output. I’ve tried both strategic merge patching and JSON6902 patching. I’ve tried including the path to a patch file as well as doing it directly in the kustomization.yaml using both patches:
and patchesJson6902:
as well as applying kustomize edit fix and results are all the same. The files below are my most recent attempt using patchesJson6902:
and a kustomization.yaml in-line patch.