What's Changed
- Updated psp config to current rancher approach by @eliyamlevy in #297
Full Changelog: v3.0.1-rc4...v3.1.0-rc1
Note on PSP Deprecation
Starting in Kubernetes v1.25, Pod Security Policies have been removed from the Kubernetes API.
As a result, before upgrading to Kubernetes v1.25 (or on a fresh install in a Kubernetes v1.25+ cluster), users are expected to perform an in-place upgrade of this chart with global.cattle.psp.enabled
set to false
if it has been previously set to true
.
Note:
In this chart release, any previous field that was associated with any PSP resources have been removed in favor of a single global field:global.cattle.psp.enabled
.
Note:
If you upgrade your cluster to Kubernetes v1.25+ before removing PSPs via ahelm upgrade
(even if you manually clean up resources), it will leave the Helm release in a broken state within the cluster such that further Helm operations will not work (helm uninstall
,helm upgrade
, etc.).If your charts get stuck in this state, please consult the Rancher docs on how to clean up your Helm release secrets.
Upon settingglobal.cattle.psp.enabled
to false, the chart will remove any PSP resources deployed on its behalf from the cluster. This is the default setting for this chart.
As a replacement for PSPs, Pod Security Admission should be used. Please consult the Rancher docs for more details on how to configure your chart release namespaces to work with the new Pod Security Admission and apply Pod Security Standards.