Last active
January 27, 2024 09:30
-
-
Save meysam81/29a9444f9c14e9d53e1039c5ab77d9cf to your computer and use it in GitHub Desktop.
The KubeConfig template to be used by each component to talk to the Kubernetes API server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
clusters: | |
- cluster: | |
certificate-authority: {{ ca_cert_path }} | |
server: https://{{ apiserver_ip }}:{{ apiserver_port | default(6443) }} | |
name: {{ kube_context }} | |
contexts: | |
- context: | |
cluster: {{ kube_context }} | |
user: {{ kube_context }} | |
name: {{ kube_context }} | |
current-context: {{ kube_context }} | |
kind: Config | |
preferences: {} | |
users: | |
- name: {{ kube_context }} | |
user: | |
client-certificate: {{ client_cert_path }} | |
client-key: {{ client_key_path }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment