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.
- apiGroups: ["crd.projectcalico.org"]
resources:
- ippools
- ipreservations
verbs:
- 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"]
resources:
- blockaffinities
@ -84,8 +90,10 @@ rules:
- clusterinformations
verbs:
- get
- list
- create
- update
- watch
# KubeControllersConfiguration is where it gets its config
- apiGroups: ["crd.projectcalico.org"]
resources:

Loading…
Cancel
Save