mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
external-resizer in e2e tests should have access to leases
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
This commit is contained in:
parent
f71cde5cba
commit
11042e015e
@ -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"]
|
||||
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user