Skip to content

Commit

Permalink
Remove dead code from kubeadm-etcd (kubernetes-sigs#7470)
Browse files Browse the repository at this point in the history
  • Loading branch information
floryut committed Apr 9, 2021
1 parent cce0940 commit aa086e5
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions roles/kubernetes/control-plane/tasks/kubeadm-etcd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,6 @@
tags:
- network

- name: Ensure etcdctl binary is installed
include_tasks: "{{ role_path }}/../../etcd/tasks/install_host.yml"
vars:
etcd_cluster_setup: true
when: etcd_deployment_type == "host" and not etcd_kubeadm_enabled

- name: Ensure etcdctl binary is installed
include_tasks: "{{ role_path }}/../../etcd/tasks/install_etcdctl_docker.yml"
vars:
etcd_cluster_setup: true
etcd_retries: 4
when:
- etcd_deployment_type == "docker" and not etcd_kubeadm_enabled

- name: Ensure etcdctl script is installed
import_role:
name: etcdctl
Expand Down

0 comments on commit aa086e5

Please sign in to comment.