mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
Patch Calico for V3.14.0 missing CR and CRD (#6276)
This commit is contained in:
@@ -57,6 +57,7 @@ rules:
|
||||
- blockaffinities
|
||||
- ipamblocks
|
||||
- ipamhandles
|
||||
- hostendpoints
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
@@ -72,3 +73,18 @@ rules:
|
||||
- create
|
||||
- update
|
||||
{% endif %}
|
||||
{% if calico_version is version('v3.14.0', '>=') %}
|
||||
# KubeControllersConfiguration is where it gets its config
|
||||
- apiGroups: ["crd.projectcalico.org"]
|
||||
resources:
|
||||
- kubecontrollersconfigurations
|
||||
verbs:
|
||||
# read its own config
|
||||
- get
|
||||
# create a default if none exists
|
||||
- create
|
||||
# update status
|
||||
- update
|
||||
# watch for changes
|
||||
- watch
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user