19 lines
453 B
Text
19 lines
453 B
Text
|
apiVersion: v1
|
||
|
kind: Config
|
||
|
clusters:
|
||
|
- name: local
|
||
|
cluster:
|
||
|
certificate-authority: {{ kube_cert_dir }}/ca.pem
|
||
|
server: {{ kube_apiserver_endpoint }}
|
||
|
users:
|
||
|
- name: kube-proxy
|
||
|
user:
|
||
|
client-certificate: {{ kube_cert_dir }}/kube-proxy.pem
|
||
|
client-key: {{ kube_cert_dir }}/kube-proxy-key.pem
|
||
|
contexts:
|
||
|
- context:
|
||
|
cluster: local
|
||
|
user: kube-proxy
|
||
|
name: kube-proxy-{{ cluster_name }}
|
||
|
current-context: kube-proxy-{{ cluster_name }}
|