merge after rebase

This commit is contained in:
jwfang 2017-06-26 16:50:30 +08:00
commit 6876f60f4c
2 changed files with 2 additions and 9 deletions

View file

@ -40,7 +40,7 @@
}
]
}'
when: dns_mode != 'none' and inventory_hostname == groups['kube-master'][0]
when: dns_mode != 'none' and inventory_hostname == groups['kube-master'][0] and rbac_enabled
tags: dnsmasq
- name: Kubernetes Apps | Start Resources
@ -60,4 +60,3 @@
include: tasks/netchecker.yml
when: deploy_netchecker
tags: netchecker

View file

@ -41,9 +41,6 @@ spec:
- mountPath: "{{ kube_config_dir }}/ssl"
name: etc-kube-ssl
readOnly: true
- mountPath: {{kube_config_dir}}/kube-proxy-kubeconfig.yaml
name: "kubeconfig"
readOnly: true
- mountPath: "{{ kube_config_dir }}/kube-proxy-kubeconfig.yaml"
name: kubeconfig
readOnly: true
@ -63,10 +60,7 @@ spec:
path: "{{ kube_config_dir }}/ssl"
- name: kubeconfig
hostPath:
path: "{{kube_config_dir}}/kube-proxy-kubeconfig.yaml"
- name: "etc-kube-ssl"
hostPath:
path: "{{kube_config_dir}}/ssl"
path: "{{ kube_config_dir }}/kube-proxy-kubeconfig.yaml"
- name: var-run-dbus
hostPath:
path: /var/run/dbus