c12s-kubespray/roles/kubernetes/kubeadm/templates/kubeadm-client.conf.v1alpha1.j2
Seungkyu Ahn 29894293eb Fix kubeadm client conf
Fix DiscoveryTokenCACertHashes key to discoveryTokenCACertHashes in kubeadm-client.conf
2018-08-17 04:40:08 +00:00

8 lines
283 B
Django/Jinja

apiVersion: kubeadm.k8s.io/v1alpha1
kind: NodeConfiguration
caCertPath: {{ kube_config_dir }}/ssl/ca.crt
token: {{ kubeadm_token }}
discoveryTokenAPIServers:
- {{ kubeadm_discovery_address | replace("https://", "")}}
discoveryTokenCACertHashes:
- sha256:{{ kubeadm_ca_hash.stdout }}