Page link
https://kyverno.io/docs/introduction/quick-start/
Description
While following the quick start guide, I noticed a warning in the terminal when I ran certain commands.
Warning: policies.kyverno.io/v1alpha1 ValidatingPolicy is deprecated; use policies.kyverno.io/v1 ValidatingPolicy
validatingpolicy.policies.kyverno.io/require-labels created
This bug exists in the code samples for validating, mutating, and generating resources sections, and I figure it might exist even beyond this page.
Suggested Action
Updating all instances of policies.kyverno.io/v1alpha1 to policies.kyverno.io/v1 and any other similar deprecations.
Expected behavior
Using the stable version policies.kyverno.io/v1 would get rid of the warnings gotten from running the code samples and prevent further similar disruptions in the documentation.
Slack discussion
No response
Page link
https://kyverno.io/docs/introduction/quick-start/
Description
While following the quick start guide, I noticed a warning in the terminal when I ran certain commands.
Warning: policies.kyverno.io/v1alpha1 ValidatingPolicy is deprecated; use policies.kyverno.io/v1 ValidatingPolicy validatingpolicy.policies.kyverno.io/require-labels createdThis bug exists in the code samples for validating, mutating, and generating resources sections, and I figure it might exist even beyond this page.
Suggested Action
Updating all instances of
policies.kyverno.io/v1alpha1topolicies.kyverno.io/v1and any other similar deprecations.Expected behavior
Using the stable version
policies.kyverno.io/v1would get rid of the warnings gotten from running the code samples and prevent further similar disruptions in the documentation.Slack discussion
No response