remove the configmap related permissions (#9310)
ref: https://github.com/kubernetes/ingress-nginx/pull/8921 We have used the Lease API for selection Signed-off-by: aimuz <mr.imuz@gmail.com> Signed-off-by: aimuz <mr.imuz@gmail.com>
This commit is contained in:
parent
02cfcff81e
commit
b34f6ef324
1 changed files with 0 additions and 20 deletions
|
@ -58,26 +58,6 @@ rules:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
# TODO(Jintao Zhang)
|
|
||||||
# Once we release a new version of the controller,
|
|
||||||
# we will be able to remove the configmap related permissions
|
|
||||||
# We have used the Lease API for selection
|
|
||||||
# ref: https://github.com/kubernetes/ingress-nginx/pull/8921
|
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- configmaps
|
|
||||||
resourceNames:
|
|
||||||
- {{ include "ingress-nginx.controller.electionID" . }}
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- update
|
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- configmaps
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- coordination.k8s.io
|
- coordination.k8s.io
|
||||||
resources:
|
resources:
|
||||||
|
|
Loading…
Reference in a new issue