From 76e55e42bc41dc26a4598f0d4aef508c7ac51e7a Mon Sep 17 00:00:00 2001 From: Ashu Pachauri Date: Thu, 11 Mar 2021 19:32:29 +0530 Subject: [PATCH] Require correct permissions for updated Kubernetes version Kubernetes version >= 1.16 has moved deployments to apps api group extensions. --- setup-access.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-access.yaml b/setup-access.yaml index 39585b7..e9aa773 100644 --- a/setup-access.yaml +++ b/setup-access.yaml @@ -19,7 +19,7 @@ apiVersion: rbac.authorization.k8s.io/v1beta1 metadata: name: phpa-cluster-role rules: -- apiGroups: ["extensions"] +- apiGroups: ["apps"] resources: ["deployments", "deployments/scale"] verbs: ["get", "list", "watch", "update", "patch"] ---