2017-09-13 18:00:51 +00:00
|
|
|
apiVersion: kubeadm.k8s.io/v1alpha1
|
|
|
|
kind: NodeConfiguration
|
2018-12-06 20:11:48 +00:00
|
|
|
caCertPath: {{ kube_cert_dir }}/ca.crt
|
2017-09-13 18:00:51 +00:00
|
|
|
token: {{ kubeadm_token }}
|
|
|
|
discoveryTokenAPIServers:
|
2018-12-25 08:03:32 +00:00
|
|
|
{% if kubeadm_config_api_fqdn is defined %}
|
2018-09-01 16:02:52 +00:00
|
|
|
- {{ kubeadm_config_api_fqdn }}:{{ loadbalancer_apiserver.port | default(kube_apiserver_port) }}
|
2018-08-20 13:17:48 +00:00
|
|
|
{% else %}
|
2017-09-13 18:00:51 +00:00
|
|
|
- {{ kubeadm_discovery_address | replace("https://", "")}}
|
2018-08-20 13:17:48 +00:00
|
|
|
{% endif %}
|
2018-07-20 07:15:27 +00:00
|
|
|
discoveryTokenCACertHashes:
|
2017-12-25 08:57:45 +00:00
|
|
|
- sha256:{{ kubeadm_ca_hash.stdout }}
|