Fix kubedns idempotency

Removed api-version from kube.py because it is deprecated.
Updating both kube.py because dnsmasq one is actually used.
Fixed name back to kubedns for checking its resource.
This commit is contained in:
Matthew Mosesohn
2016-09-13 16:48:07 +03:00
parent 2e386dfbdc
commit ef43b21597
3 changed files with 1 additions and 27 deletions

View File

@@ -9,7 +9,7 @@
- name: Kubernetes Apps | Start Resources
kube:
name: KubeDNS
name: kubedns
namespace: kube-system
kubectl: "{{bin_dir}}/kubectl"
resource: "{{item.item.type}}"