kubeadm_discovery_address should not contain proto (#4930)

This commit is contained in:
Erwan Miran
2019-06-28 09:37:37 +02:00
committed by Kubernetes Prow Robot
parent f599c2a691
commit c7f3123e28
6 changed files with 10 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ discovery:
{% if kubeadm_config_api_fqdn is defined %}
apiServerEndpoint: {{ kubeadm_config_api_fqdn }}:{{ loadbalancer_apiserver.port | default(kube_apiserver_port) }}
{% else %}
apiServerEndpoint: {{ kubeadm_discovery_address | replace("https://", "")}}
apiServerEndpoint: {{ kubeadm_discovery_address }}
{% endif %}
token: {{ kubeadm_token }}
caCertHashes: