YAML Anchor Override Support #4747
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
triage/resolved
Indicates an issue has been resolved or doesn't need to be resolved.
Kustomize can't build manifests in some situations when YAML anchors are used. I know that this has been previously addressed in #3675 which fixes anchors in some cases but I'm still having an issue when an anchor overrides are used. I'm using
kubectl v1.23
to run the kustomize build. Thiskubectl
version uses kustomizev4.4.1
which should have the mentioned anchor fix.Note that in the below example the
name
andlabel
anchors work as expected. Only thedefault
anchor causes issues.This build works as expected using
kubectl v1.20
kustomization.yaml
deployment.yaml
Actual output
Kustomize version
v4.4.1
Platform
macOS
The text was updated successfully, but these errors were encountered: