Skip to content

Commit 76e55e4

Browse files
committed
Require correct permissions for updated Kubernetes version
Kubernetes version >= 1.16 has moved deployments to apps api group extensions.
1 parent 94e4cc7 commit 76e55e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup-access.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
1919
metadata:
2020
name: phpa-cluster-role
2121
rules:
22-
- apiGroups: ["extensions"]
22+
- apiGroups: ["apps"]
2323
resources: ["deployments", "deployments/scale"]
2424
verbs: ["get", "list", "watch", "update", "patch"]
2525
---

0 commit comments

Comments
 (0)