From dc13e904c8e84892be7f2801a031f2457e94e2fd Mon Sep 17 00:00:00 2001 From: ston1th Date: Sat, 30 Nov 2019 12:20:38 +0100 Subject: [PATCH] fixed psp --- config/02-sa.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/02-sa.yaml b/config/02-sa.yaml index aaeabf2..9bd3c37 100644 --- a/config/02-sa.yaml +++ b/config/02-sa.yaml @@ -13,6 +13,10 @@ rules: - apiGroups: [""] resources: ["secrets"] verbs: ["get"] +- apiGroups: ["policy"] + resources: ["podsecuritypolicies"] + resourceNames: ["webhook-interseptor"] + verbs: ["use"] --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding