Fix kubeadm client conf

Fix DiscoveryTokenCACertHashes key to discoveryTokenCACertHashes in kubeadm-client.conf
pull/3017/head
Seungkyu Ahn 2018-07-20 07:15:27 +00:00
parent 58ee5f1cc9
commit 29894293eb
1 changed files with 1 additions and 1 deletions

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 }}