Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: to-bar <46519524+to-bar@users.noreply.github.com>
  • Loading branch information
sk4zuzu and to-bar committed Jul 22, 2020
1 parent c38eb9d commit b32770d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
# The kubeadm-config.yml file is no longer used during upgrade process,
# but we keep it for backup and reference purposes.
- name: k8s/master | Save kubeadm-config ConfigMap to file
command: >-
kubeadm config view > /etc/kubeadm/kubeadm-config.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@
when:
- version is version('1.17.7', '==')

- name: k8s/master0 | Upgrade kubeadm-config.yml if exists
include_tasks: upgrade-kubeadm-config.yml
- name: k8s/master0 | Backup kubeadm-config.yml
include_tasks: backup-kubeadm-config.yml

- name: k8s/master0 | Upgrade Docker # this may restart Docker daemon
include_tasks: docker.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
- name: k8s/masterN | Wait for cluster's readiness
include_tasks: utils/wait.yml

- name: k8s/masterN | Upgrade kubeadm-config.yml if exists
include_tasks: upgrade-kubeadm-config.yml
- name: k8s/masterN | Backup kubeadm-config.yml
include_tasks: backup-kubeadm-config.yml

- name: k8s/masterN | Upgrade Docker # this may restart Docker daemon
include_tasks: docker.yml
Expand Down

0 comments on commit b32770d

Please sign in to comment.