Skip to content
Snippets Groups Projects
Commit 8b671592 authored by Matthew Mosesohn's avatar Matthew Mosesohn Committed by Kubernetes Prow Robot
Browse files

Do not run kubeadm upgrade on first deploy (#5339)

Change-Id: I68a962a9dd28c83ef07eaeaf53eb98287f38bca9
parent 4f70da27
Branches
Tags
No related merge requests found
...@@ -159,16 +159,18 @@ ...@@ -159,16 +159,18 @@
- kubeadm_token - kubeadm_token
- name: kubeadm | Initialize other masters (experimental control plane) - name: kubeadm | Initialize other masters (experimental control plane)
include: kubeadm-secondary-experimental.yml include_tasks: kubeadm-secondary-experimental.yml
when: kubeadm_control_plane when: kubeadm_control_plane
- name: kubeadm | Initialize other masters (experimental control plane) - name: kubeadm | Initialize other masters (experimental control plane)
include: kubeadm-secondary-legacy.yml include_tasks: kubeadm-secondary-legacy.yml
when: not kubeadm_control_plane when: not kubeadm_control_plane
- name: kubeadm | upgrade kubernetes cluster - name: kubeadm | upgrade kubernetes cluster
import_tasks: kubeadm-upgrade.yml include_tasks: kubeadm-upgrade.yml
when: upgrade_cluster_setup when:
- upgrade_cluster_setup
- kubeadm_already_run.stat.exists
- name: kubeadm | Check serviceaccount key again - name: kubeadm | Check serviceaccount key again
stat: stat:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment