You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by treydock August 25, 2021
I'd like to propose a change to how Kyverno is deployed with Helm after the issues faced with recent 1.4.2 changes where the Kyverno CRDs were moved into a dedicated chart.
The change with 1.4.2 was to put the Kyverno CRDs into a dedicated Helm chart. The main benefit with this change is now it's possible to update and uninstall the Kyverno CRDs using Helm. This is done by moving the YAML for CRDs out of crds directory and into the templates directory so the CRDs are deployed like any other resource. The main reason this required a new chart is because you can't have CRDs as a template deployed in same chart as resources using those CRDs. So can't have CRDs and Kyverno policies deployed from same templates directory.
I'd like to propose that the CRDs are moved back into main kyverno Helm chart under the templates directory and move the Kyverno policies to a dedicated kyverno-policies Helm chart in this repo. This way a helm install kyverno .... will give someone a fully functional Kyverno deployment and then if they wish they can install additional policies via Helm as a second step.
What I've validated so far is doing this on main branch:
Discussed in #2312
Originally posted by treydock August 25, 2021
I'd like to propose a change to how Kyverno is deployed with Helm after the issues faced with recent 1.4.2 changes where the Kyverno CRDs were moved into a dedicated chart.
The change with 1.4.2 was to put the Kyverno CRDs into a dedicated Helm chart. The main benefit with this change is now it's possible to update and uninstall the Kyverno CRDs using Helm. This is done by moving the YAML for CRDs out of
crds
directory and into thetemplates
directory so the CRDs are deployed like any other resource. The main reason this required a new chart is because you can't have CRDs as a template deployed in same chart as resources using those CRDs. So can't have CRDs and Kyverno policies deployed from sametemplates
directory.I'd like to propose that the CRDs are moved back into main
kyverno
Helm chart under thetemplates
directory and move the Kyverno policies to a dedicatedkyverno-policies
Helm chart in this repo. This way ahelm install kyverno ....
will give someone a fully functional Kyverno deployment and then if they wish they can install additional policies via Helm as a second step.What I've validated so far is doing this on main branch:
I think some challenges that would need testing (assuming this change is made with 1.5.0)
The text was updated successfully, but these errors were encountered: