Don't install calicoctl pod
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2021-05-29 23:21:20 +02:00
parent eb56044c32
commit 8248e2f847
Signed by: adrien
GPG key ID: DA7B27055C66D6DE

View file

@ -21,19 +21,19 @@
kind: Pod
name: calicoctl
namespace: kube-system
when:
- calico_changed is changed
- name: calicoctl install
k8s:
state: present
context: "{{ my_context }}"
apply: yes
resource_definition: "{{ lookup('file', item) | from_yaml }}"
with_items:
- "{{ calicoctl_files }}"
when:
- calico_changed is changed
# when:
# - calico_changed is changed
#
# - name: calicoctl install
# k8s:
# state: present
# context: "{{ my_context }}"
# apply: yes
# resource_definition: "{{ lookup('file', item) | from_yaml }}"
# with_items:
# - "{{ calicoctl_files }}"
# when:
# - calico_changed is changed
when: