Skip to content
Snippets Groups Projects
Unverified Commit 32f3d92d authored by Kay Yan's avatar Kay Yan Committed by GitHub
Browse files

Remove PodSecurityPolicies in Calico (#9395)

parent 72b45eec
Branches
Tags
No related merge requests found
......@@ -285,35 +285,3 @@ subjects:
- kind: ServiceAccount
name: calico-apiserver
namespace: calico-apiserver
---
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
annotations:
seccomp.security.alpha.kubernetes.io/allowedProfileNames: '*'
name: calico-apiserver
spec:
allowPrivilegeEscalation: false
fsGroup:
ranges:
- max: 65535
min: 1
rule: MustRunAs
hostPorts:
- max: 65535
min: 0
requiredDropCapabilities:
- ALL
runAsUser:
rule: RunAsAny
seLinux:
rule: RunAsAny
supplementalGroups:
ranges:
- max: 65535
min: 1
rule: MustRunAs
volumes:
- secret
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment