mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-10 15:32:09 -03:30
add calico kubeconfig wait timeout (#9994)
Signed-off-by: tu1h <lihai.tu@daocloud.io>
This commit is contained in:
parent
02dc9fbd3e
commit
c7072b48dc
@ -166,3 +166,6 @@ calico_apiserver_enabled: false
|
||||
|
||||
# Calico feature detect override
|
||||
calico_feature_detect_override: ""
|
||||
|
||||
# Calico kubeconfig wait timeout in seconds
|
||||
calico_kubeconfig_wait_timeout: 300
|
||||
|
||||
@ -440,6 +440,7 @@
|
||||
- name: Wait for calico kubeconfig to be created
|
||||
wait_for:
|
||||
path: /etc/cni/net.d/calico-kubeconfig
|
||||
timeout: "{{ calico_kubeconfig_wait_timeout }}"
|
||||
when:
|
||||
- inventory_hostname not in groups['kube_control_plane']
|
||||
- calico_datastore == "kdd"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user