Skip to content
Snippets Groups Projects
Commit 2778ac61 authored by Matthew Mosesohn's avatar Matthew Mosesohn
Browse files

Add new var skip_dnsmasq_k8s

If skip_dnsmasq is set, it will still not set up dnsmasq
k8s pod. This enables independent setup of resolvconf section
before kubelet is up.
parent 7fe255e5
No related branches found
No related tags found
No related merge requests found
...@@ -17,3 +17,9 @@ dnsmasq_version: 2.72 ...@@ -17,3 +17,9 @@ dnsmasq_version: 2.72
# Images # Images
dnsmasq_image_repo: "andyshinn/dnsmasq" dnsmasq_image_repo: "andyshinn/dnsmasq"
dnsmasq_image_tag: "{{ dnsmasq_version }}" dnsmasq_image_tag: "{{ dnsmasq_version }}"
# Skip dnsmasq setup
skip_dnsmasq: false
# Skip setting up dnsmasq daemonset
skip_dnsmasq_k8s: "{{ skip_dnsmasq }}"
--- ---
- include: dnsmasq.yml - include: dnsmasq.yml
when: "{{ not skip_dnsmasq|bool }}" when: "{{ not skip_dnsmasq_k8s|bool }}"
- include: resolvconf.yml - include: resolvconf.yml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment