summaryrefslogtreecommitdiff
path: root/roles/kubernetes/kubeadm
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-12-11 02:48:37 +0100
committerChristian Pointner <equinox@spreadspace.org>2022-12-11 02:48:37 +0100
commite2221693cb16b6db31879e74ec36ab414bb12327 (patch)
tree6af1594c85bbae80fe30b60296205d76348ff735 /roles/kubernetes/kubeadm
parentedis-kvm/try suggested fixes from edis support: (diff)
add some TODOs for kubeadm changes
Diffstat (limited to 'roles/kubernetes/kubeadm')
-rw-r--r--roles/kubernetes/kubeadm/control-plane/tasks/primary.yml1
-rw-r--r--roles/kubernetes/kubeadm/reset/tasks/main.yml1
2 files changed, 2 insertions, 0 deletions
diff --git a/roles/kubernetes/kubeadm/control-plane/tasks/primary.yml b/roles/kubernetes/kubeadm/control-plane/tasks/primary.yml
index 36195235..2c16d406 100644
--- a/roles/kubernetes/kubeadm/control-plane/tasks/primary.yml
+++ b/roles/kubernetes/kubeadm/control-plane/tasks/primary.yml
@@ -19,6 +19,7 @@
- name: initialize kubernetes primary control-plane node and store log
block:
- name: initialize kubernetes primary control-plane node
+ ## TODO: kubeadm 1.26+: add cli option '--skip-phases=show-join-command'
command: "kubeadm init --config /etc/kubernetes/kubeadm.config --skip-token-print"
args:
creates: /etc/kubernetes/pki/ca.crt
diff --git a/roles/kubernetes/kubeadm/reset/tasks/main.yml b/roles/kubernetes/kubeadm/reset/tasks/main.yml
index ce343f3c..68f9d895 100644
--- a/roles/kubernetes/kubeadm/reset/tasks/main.yml
+++ b/roles/kubernetes/kubeadm/reset/tasks/main.yml
@@ -1,5 +1,6 @@
---
- name: clean up settings and files created by kubeadm
+ ## TODO: kubeadm 1.26+: add CLI option '--cleanup-tmp-dir'?
command: kubeadm reset -f
- name: clean up extra configs and logs