Skip to content

Commit

Permalink
dont use var etcd_kubeadm_enabled (kubernetes-sigs#9823)
Browse files Browse the repository at this point in the history
  • Loading branch information
liupeng0518 authored and HoKim98 committed Mar 8, 2023
1 parent 2b8809d commit 2f7928d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recover-control-plane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit 2f7928d

Please sign in to comment.