What's new?
- Separate helm chart for ClusterAdmissionPolicy and PolicyServer CRDs
- Introduce cert-manager dependency
- PolicyServer and ClusterAdmissionPolicies are now validated and mutated by dedicated admission controllers. The kubewarden-controller is acting as validation endpoint for both of them.
- All the resources created by the operator are now using
Finalizers
.
How to upgrade?
Unfortunately helm upgrade is not supported for this release. Uninstall previous kubewarden installation and delete the ClusterAdmissionPolicy CRD:
kubectl delete --all clusteradmissionpolicies.policies.kubewarden.io
helm uninstall --namespace kubewarden kubewarden-controller
kubectl delete namespace kubewarden
kubectl delete crd clusteradmissionpolicies.policies.kubewarden.io
Then install kubewarden's new version:
kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.5.3/cert-manager.yaml
helm install --create-namespace -n kubewarden kubewarden-crds kubewarden/kubewarden-crds
helm install --wait -n kubewarden kubewarden-controller kubewarden/kubewarden-controller