Browse Source

add missing verbs (#9032)

pull/9044/head
忘尘 2 years ago
committed by GitHub
parent
commit
1562a9c2ec
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions
  1. 10
      roles/kubernetes-apps/policy_controller/calico/templates/calico-kube-cr.yml.j2

10
roles/kubernetes-apps/policy_controller/calico/templates/calico-kube-cr.yml.j2

@ -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:

Loading…
Cancel
Save