Skip to content
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

Yaml !!merge anchors are causing Kustomize errors #2574

Closed
1 task done
containerpope opened this issue Mar 25, 2022 · 1 comment
Closed
1 task done

Yaml !!merge anchors are causing Kustomize errors #2574

containerpope opened this issue Mar 25, 2022 · 1 comment

Comments

@containerpope
Copy link

Describe the bug

Till yesterday there was a bug in Kustomize, in case !!merge anchors are used in a certain way in yaml documents.
The fix was merged and released recently in version 4.5.3

kubernetes-sigs/kustomize#4383

https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize%2Fv4.5.3

Steps to reproduce

Go to knative-eventing repository and deploy their manifest
https://github.com/knative/eventing/releases/download/knative-v1.1.4/eventing-core.yaml

Expected behavior

Everything is deployed nicely, as with kubectl apply.

Screenshots and recordings

CleanShot 2022-03-25 at 07 33 26

OS / Distro

AKS v1.21.9

Flux version

flux: v0.28.2

Flux check

► checking prerequisites
✔ Kubernetes 1.21.9 >=1.20.6-0
► checking controllers
✔ all checks passed

Git provider

Azure DevOps

Container Registry provider

Azure Container Registry

Additional context

Should be simply fixed by updating Kustomize to the newest version

Code of Conduct

  • I agree to follow this project's Code of Conduct
@stefanprodan
Copy link
Member

This should be fixed in the latest Flux release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants