Fix restart kube-controller (#1242)

kubernetesUnitPrefix was changed to k8s_* in 1.5. This patch reflects
this change in kargo
This commit is contained in:
Sergii Golovatiuk 2017-04-20 10:26:01 +02:00 committed by Matthew Mosesohn
parent 9517d20b67
commit 1268c9b642

View file

@ -45,5 +45,5 @@
when: inventory_hostname in groups['kube-master'] and dns_mode != 'none' and resolvconf_mode == 'host_resolvconf'
- name: Preinstall | restart kube-controller-manager
shell: "docker ps -f name=k8s-controller-manager* -q | xargs --no-run-if-empty docker rm -f"
shell: "docker ps -f name=k8s_kube-controller-manager* -q | xargs --no-run-if-empty docker rm -f"
when: inventory_hostname in groups['kube-master'] and dns_mode != 'none' and resolvconf_mode == 'host_resolvconf' and kube_controller_set.stat.exists