mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-05-22 21:05:13 +00:00
Fix wrong apiVersion for PodSecurityPolicy
To create a PodSecurityPolicy, the apiVersion `policy/v1beta1` should be used. If I apply the current manifest, which use `apiVersion: policy/v1beta1`, it throws out the error: "no matches for kind "PodSecurityPolicy" in version "extensions/v1beta1"
This commit is contained in:
@@ -613,7 +613,7 @@ addons: |
|
||||
kind: Group
|
||||
name: system:authenticated
|
||||
---
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: policy/v1beta1
|
||||
kind: PodSecurityPolicy
|
||||
metadata:
|
||||
name: restricted-psp
|
||||
|
||||
Reference in New Issue
Block a user