2017-09-14 02:00:51 +08:00
|
|
|
apiVersion: kubeadm.k8s.io/v1alpha1
|
|
|
|
kind: NodeConfiguration
|
|
|
|
caCertPath: {{ kube_config_dir }}/ssl/ca.crt
|
|
|
|
token: {{ kubeadm_token }}
|
|
|
|
discoveryTokenAPIServers:
|
|
|
|
- {{ kubeadm_discovery_address | replace("https://", "")}}
|
2017-12-25 16:57:45 +08:00
|
|
|
DiscoveryTokenCACertHashes:
|
|
|
|
- sha256:{{ kubeadm_ca_hash.stdout }}
|