Skip to content
Snippets Groups Projects
Unverified Commit 70bbb3e2 authored by Hans Feldt's avatar Hans Feldt Committed by GitHub
Browse files

calico: avoid POD restart during initial deploy (#6886)

calico PODs are first started and then in a handler killed and
restarted for no reason, nothing has changed.

By using the existing variable 'calico_cni_config' (only defined when
calico has already started) the restart can be skipped.
parent a27eebb2
No related branches found
No related tags found
No related merge requests found
---
- name: reset_calico_cni
command: /bin/true
when: calico_cni_config is defined
notify:
- delete 10-calico.conflist
- docker | delete calico-node containers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment