mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-11-09 10:19:16 +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:
1 parent
a4b11566a4
commit
e3885d04ab
1 file changed
+1
-1
@@ -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