-
Notifications
You must be signed in to change notification settings - Fork 75
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
Possibility to use YAML anchors lost from v1.3.0 to v1.4.0 #107
Comments
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
Running the kyverno cli with current version v1.11.4 on a
kyverno-test.yaml
using anchors fails with a message like this currently:We were running the kyverno cli in version v1.10.4 before. This has been working without any issues. Drilling down the issue, I've seen that with the update we've made for the kyverno cli, we also updated:
k8s.io/apimachinery
fromv0.27.1
tov0.29.2
and with thissigs.k8s.io/yaml
fromv1.3.0
tov1.4.0
(The kubernetes apimachinery depends on this project, see https://github.com/kubernetes/apimachinery/blob/v0.29.1/pkg/util/yaml/decoder.go).
What I don't understand yet , is, why the functionality is lost. With my rudimentary knowledge of Go I understand that you forked the the
goyaml.v2
andgoyaml.v3
modules but currently rely on thegoyaml.v2
module. TheREADME.md
files in the according subdirectory clearly state thatgoyaml.v2
includes support for anchors, butgoyaml.v3
does not.I could need support to actually understand what happened here. Also, are there any concrete plans to move to
goyaml.v3
and to add support for anchors togoyaml.v3
then?Thanks very much in advance for any help.
The text was updated successfully, but these errors were encountered: