Refactor: simpify cloud_provider is defined condition

For this change, `cloud_provider` change the default value to empty
string.

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
This commit is contained in:
ChengHao Yang
2024-11-05 00:30:04 +08:00
parent c27cc33bd7
commit 38cd05c503
7 changed files with 9 additions and 12 deletions

View File

@@ -271,6 +271,9 @@ kubelet_shutdown_grace_period: 60s
# to give normal pods time to be gracefully evacuated
kubelet_shutdown_grace_period_critical_pods: 20s
# Cloud Provider
# This variable can only be set to "external" or empty string, otherwise the check will fail.
cloud_provider: ""
# Whether to deploy the container engine
deploy_container_engine: "{{ 'k8s_cluster' in group_names or etcd_deployment_type == 'docker' }}"