You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
441 B

  1. apiVersion: kubeadm.k8s.io/v1alpha1
  2. kind: NodeConfiguration
  3. caCertPath: {{ kube_cert_dir }}/ca.crt
  4. token: {{ kubeadm_token }}
  5. discoveryTokenAPIServers:
  6. {% if kubeadm_config_api_fqdn is defined %}
  7. - {{ kubeadm_config_api_fqdn }}:{{ loadbalancer_apiserver.port | default(kube_apiserver_port) }}
  8. {% else %}
  9. - {{ kubeadm_discovery_address | replace("https://", "")}}
  10. {% endif %}
  11. discoveryTokenCACertHashes:
  12. - sha256:{{ kubeadm_ca_hash.stdout }}