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.

21 lines
756 B

  1. apiVersion: kubeadm.k8s.io/v1beta2
  2. kind: JoinConfiguration
  3. discovery:
  4. bootstrapToken:
  5. {% if kubeadm_config_api_fqdn is defined %}
  6. apiServerEndpoint: {{ kubeadm_config_api_fqdn }}:{{ loadbalancer_apiserver.port | default(kube_apiserver_port) }}
  7. {% else %}
  8. apiServerEndpoint: {{ kubeadm_discovery_address }}
  9. {% endif %}
  10. token: {{ kubeadm_token }}
  11. unsafeSkipCAVerification: true
  12. timeout: {{ discovery_timeout }}
  13. tlsBootstrapToken: {{ kubeadm_token }}
  14. controlPlane:
  15. localAPIEndpoint:
  16. advertiseAddress: {{ kube_apiserver_address }}
  17. bindPort: {{ kube_apiserver_port }}
  18. certificateKey: {{ kubeadm_certificate_key }}
  19. nodeRegistration:
  20. name: {{ kube_override_hostname|default(inventory_hostname) }}
  21. criSocket: {{ cri_socket }}