crooked-cat-21365
07/28/2023, 10:26 AM% kubectl get psp
Warning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
NAME PRIV CAPS SELINUX RUNASUSER FSGROUP SUPGROUP READONLYROOTFS VOLUMES
global-restricted-psp false RunAsAny MustRunAsNonRoot MustRunAs MustRunAs false configMap,emptyDir,projected,secret,downwardAPI,persistentVolumeClaim
global-unrestricted-psp true * RunAsAny RunAsAny RunAsAny RunAsAny false *
system-unrestricted-psp true * RunAsAny RunAsAny RunAsAny RunAsAny false *
(Kubernetes is still RKE2 1.24.10. )
I cannot remember having set these PSPs at all. My config.yaml for RKE2 didn't mention any cis profiles, so I wonder where they came from? I had hoped they would disappear after the Rancher upgrade.
Every insightful comment is highly appreciated.