Skip to content

Commit

Permalink
Require correct permissions for updated Kubernetes version
Browse files Browse the repository at this point in the history
Kubernetes version >= 1.16 has moved deployments to apps api group
extensions.
  • Loading branch information
ashu210890 committed Mar 11, 2021
1 parent 94e4cc7 commit 76e55e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup-access.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
---
Expand Down

0 comments on commit 76e55e4

Please sign in to comment.