Merge pull request #76091 from andrewsykim/external-resizer-rbac

external-resizer in e2e tests should have access to leases
k3s-v1.15.3
Kubernetes Prow Robot 2019-04-03 21:07:36 -07:00 committed by GitHub
commit c2877f862a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ roleRef:
apiGroup: rbac.authorization.k8s.io
---
# Resizer must be able to work with end point in current namespace
# Resizer must be able to work with leases in current namespace
# if (and only if) leadership election is enabled
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
@ -68,8 +68,8 @@ metadata:
namespace: default
name: external-resizer-cfg
rules:
- apiGroups: [""]
resources: ["endpoints"]
- apiGroups: ["coordination.k8s.io"]
resources: ["leases"]
verbs: ["get", "watch", "list", "delete", "update", "create"]
---