18 lines
387 B
Text
18 lines
387 B
Text
|
apiVersion: v1
|
||
|
kind: Config
|
||
|
clusters:
|
||
|
- name: local
|
||
|
cluster:
|
||
|
certificate-authority: {{ kube_cert_dir }}/ca.pem
|
||
|
users:
|
||
|
- name: kubelet
|
||
|
user:
|
||
|
client-certificate: {{ kube_cert_dir }}/node.pem
|
||
|
client-key: {{ kube_cert_dir }}/node-key.pem
|
||
|
contexts:
|
||
|
- context:
|
||
|
cluster: local
|
||
|
user: kubelet
|
||
|
name: kubelet-{{ cluster_name }}
|
||
|
current-context: kubelet-{{ cluster_name }}
|