kyverno / policies

Kyverno policies for security and best practices
Apache License 2.0
333 stars 243 forks source link

[Enhancement]: Update generateExistingOnPolicyUpdate (deprecated) with new format #1162

Closed husnialhamdani closed 2 months ago

husnialhamdani commented 2 months ago

Kyverno Version

1.7

Kubernetes Version

1.20

Kubernetes Platform

Other (specify in description)

Description

I think this policy will need to be updated, since in the documentation has marked for deprecation https://kyverno.io/policies/other/generate-networkpolicy-existing/generate-networkpolicy-existing/

Steps to reproduce

Using deprecating format

Expected behavior

Use the new format

Screenshots

No response

Kyverno logs

No response

Slack discussion

No response

Troubleshooting