Wrong type detection when using extend anchor in yaml files #4251
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/duplicate
Indicates an issue is a duplicate of other open issue.
Describe the bug
In
build
command, If there is extend anchor in yaml file, fatal error accrues.Files that can reproduce the issue
kustomization.yml
deployment.yml:
Expected output
successful build.
Actual output
Kustomize version
{Version:kustomize/v4.4.0 GitCommit:63ec6bdb3d737a7c66901828c5743656c49b60e1 BuildDate:2021-09-27T16:24:12Z GoOs:linux GoArch:amd64}
Platform
Ubuntu 20.04.3 LTS
The text was updated successfully, but these errors were encountered: