Skip to content
Snippets Groups Projects
Unverified Commit 1562a9c2 authored by 忘尘's avatar 忘尘 Committed by GitHub
Browse files

add missing verbs (#9032)

parent 6cd243f1
Branches
Tags
No related merge requests found
...@@ -52,10 +52,16 @@ rules: ...@@ -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: ...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment