Browse Source

dont use var etcd_kubeadm_enabled (#9823)

pull/9836/head
Samuel Liu 1 year ago
committed by GitHub
parent
commit
f9ce176211
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. 3
      recover-control-plane.yml

3
recover-control-plane.yml

@ -16,7 +16,8 @@
environment: "{{ proxy_disable_env }}"
roles:
- { role: kubespray-defaults}
- { role: recover_control_plane/etcd, when: "not etcd_kubeadm_enabled|default(false)" }
- role: recover_control_plane/etcd
when: etcd_deployment_type != "kubeadm"
- hosts: kube_control_plane[0]
environment: "{{ proxy_disable_env }}"

Loading…
Cancel
Save