add missing verbs (#9032)

This commit is contained in:
忘尘 2022-06-29 15:18:05 +08:00 committed by GitHub
parent 6cd243f14e
commit 1562a9c2ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,10 +52,16 @@ rules:
# IPAM resources are manipulated when nodes are deleted. # IPAM resources are manipulated when nodes are deleted.
- apiGroups: ["crd.projectcalico.org"] - apiGroups: ["crd.projectcalico.org"]
resources: resources:
- ippools
- ipreservations - ipreservations
verbs: verbs:
- list - list
# Pools are watched to maintain a mapping of blocks to IP pools.
- apiGroups: ["crd.projectcalico.org"]
resources:
- ippools
verbs:
- list
- watch
- apiGroups: ["crd.projectcalico.org"] - apiGroups: ["crd.projectcalico.org"]
resources: resources:
- blockaffinities - blockaffinities
@ -84,8 +90,10 @@ rules:
- clusterinformations - clusterinformations
verbs: verbs:
- get - get
- list
- create - create
- update - update
- watch
# KubeControllersConfiguration is where it gets its config # KubeControllersConfiguration is where it gets its config
- apiGroups: ["crd.projectcalico.org"] - apiGroups: ["crd.projectcalico.org"]
resources: resources: