-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
kustomize build: could not find expected ':' #3626
Comments
/kind bug |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
/remove-lifecycle rotten |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
To clarify, this issue was fixed starting from kustomize v4.1.3. |
kustomize build
complains invalid YAML even though the YAML is well formatted(for e.g,yamllint
reports no error ).kustomization.yaml
resources.yaml
Expected output
Actual output
Kustomize version
Platform
macOS
Additional context
kustomize build
works when I change theresources.yaml
to be:See the difference of wherer
# We uses leases for leaderelection
is positioned.By the way, kustomize v2.0.3 works fine and we see this issue when we upgrade to the latest version.
The text was updated successfully, but these errors were encountered: