Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

also allow running the kubespray-based renew-certs playbook for k8s 1… #669

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions ansible/kubernetes-renew-certs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#
# Run "make renew-certs" to execute this playbook.
#
# Beware! This script only works if there a single control plane node!
#
# Comments:
#
# > Step 6. Make kubelet aware of the new certificate
Expand All @@ -17,10 +15,6 @@
- name: 'Renew certificates'
hosts: kube-master
tasks:
- name: fail if there is more than 1 master
fail:
msg: This playbook only works when there is one master node.
when: groups['kube-master'] | length > 1
- name: create backup dir
file:
dest: "/etc/kubernetes/backup-before-cert-renew/"
Expand Down
Loading