Merge pull request #3017 from seungkyua/fix_kubeadm_client_conf

Fix kubeadm client conf
This commit is contained in:
Rong Zhang 2018-08-20 10:51:02 +08:00 committed by GitHub
commit fd16f77e20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,5 +4,5 @@ caCertPath: {{ kube_config_dir }}/ssl/ca.crt
token: {{ kubeadm_token }} token: {{ kubeadm_token }}
discoveryTokenAPIServers: discoveryTokenAPIServers:
- {{ kubeadm_discovery_address | replace("https://", "")}} - {{ kubeadm_discovery_address | replace("https://", "")}}
DiscoveryTokenCACertHashes: discoveryTokenCACertHashes:
- sha256:{{ kubeadm_ca_hash.stdout }} - sha256:{{ kubeadm_ca_hash.stdout }}