Remove unused configuration

This commit is contained in:
rongzhang 2018-08-18 22:09:06 +08:00
parent 3e5b6a5481
commit 095ccef8bd

View file

@ -87,12 +87,3 @@
delegate_to: "{{groups['kube-master']|first}}" delegate_to: "{{groups['kube-master']|first}}"
run_once: true run_once: true
when: is_kube_master and kubeadm_discovery_address != kube_apiserver_endpoint when: is_kube_master and kubeadm_discovery_address != kube_apiserver_endpoint
# FIXME(mattymo): Reconcile kubelet kubeconfig filename for both deploy modes
- name: Symlink kubelet kubeconfig for calico/canal
file:
src: "{{ kube_config_dir }}/kubelet.conf"
dest: "{{ kube_config_dir }}/node-kubeconfig.yaml"
state: link
force: yes
when: kube_network_plugin in ['calico','canal']