Skip to content

Commit

Permalink
Remove unnecessary condition check when updating server field in kube…
Browse files Browse the repository at this point in the history
…-proxy kubeconfig (#7145)
  • Loading branch information
lazybetrayer authored Jan 13, 2021
1 parent b59035d commit 387df0e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions roles/kubernetes/kubeadm/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@
delegate_to: "{{ groups['kube-master']|first }}"
delegate_facts: false
when:
- inventory_hostname in groups['kube-master']
- kubeadm_config_api_fqdn is not defined
- kubeadm_discovery_address != kube_apiserver_endpoint | replace("https://", "")
- kube_proxy_deployed
Expand All @@ -141,7 +140,6 @@
delegate_to: "{{ groups['kube-master']|first }}"
delegate_facts: false
when:
- inventory_hostname in groups['kube-master']
- kubeadm_config_api_fqdn is not defined
- kubeadm_discovery_address != kube_apiserver_endpoint | replace("https://", "")
- kube_proxy_deployed
Expand Down

0 comments on commit 387df0e

Please sign in to comment.