Skip to content
Snippets Groups Projects
Unverified Commit 9f308158 authored by Antoine Legrand's avatar Antoine Legrand Committed by GitHub
Browse files

Merge pull request #2249 from hswong3i/kubedns-deploy.yml.j2

KubeDNS template should not suffix with .yml.j2
parents 2b6781bc 4ad53339
No related branches found
No related tags found
No related merge requests found
......@@ -38,16 +38,16 @@
- name: Kubernetes Apps | Lay Down KubeDNS Template
template:
src: "{{item.file}}"
src: "{{ item.file }}.j2"
dest: "{{ kube_config_dir }}/{{ item.file }}"
with_items:
- { name: kube-dns, file: kubedns-sa.yml, type: sa }
- {name: kube-dns, file: kubedns-deploy.yml.j2, type: deployment}
- { name: kube-dns, file: kubedns-deploy.yml, type: deployment }
- { name: kube-dns, file: kubedns-svc.yml, type: svc }
- { name: kubedns-autoscaler, file: kubedns-autoscaler-sa.yml, type: sa }
- { name: kubedns-autoscaler, file: kubedns-autoscaler-clusterrole.yml, type: clusterrole }
- { name: kubedns-autoscaler, file: kubedns-autoscaler-clusterrolebinding.yml, type: clusterrolebinding }
- {name: kubedns-autoscaler, file: kubedns-autoscaler.yml.j2, type: deployment}
- { name: kubedns-autoscaler, file: kubedns-autoscaler.yml, type: deployment }
register: manifests
when:
- dns_mode != 'none' and inventory_hostname == groups['kube-master'][0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment