kubespray/roles/kubernetes/kubeadm/templates/kubeadm-client.conf.j2

7 lines
217 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://", "")}}