Skip to content

Commit

Permalink
Remove useless call to 'kubeadm version'
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne Champetier <[email protected]>
  • Loading branch information
champtar authored and k8s-ci-robot committed Mar 5, 2021
1 parent fedd671 commit a6e1f5e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
5 changes: 0 additions & 5 deletions roles/kubernetes/control-plane/tasks/kubeadm-version.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
---
- name: Get the kubeadm version
command: "{{ bin_dir }}/kubeadm version -o short"
register: kubeadm_output
changed_when: false

- name: Set kubeadm api version to v1beta2
set_fact:
kubeadmConfig_api_version: v1beta2
Expand Down
5 changes: 0 additions & 5 deletions roles/kubernetes/kubeadm/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@
kubeadm_token: "{{ temp_token.stdout }}"
when: kubeadm_token is not defined

- name: Get the kubeadm version
command: "{{ bin_dir }}/kubeadm version -o short"
register: kubeadm_output
changed_when: false

- name: Set kubeadm api version to v1beta2
set_fact:
kubeadmConfig_api_version: v1beta2
Expand Down
5 changes: 0 additions & 5 deletions roles/kubernetes/node/tasks/kubelet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
state: directory
when: dynamic_kubelet_configuration

- name: Get the kubeadm version
command: "{{ bin_dir }}/kubeadm version -o short"
register: kubeadm_output
changed_when: false

- name: Set kubelet api version to v1beta1
set_fact:
kubeletConfig_api_version: v1beta1
Expand Down

0 comments on commit a6e1f5e

Please sign in to comment.