Dear All,
I am trying to understand what the field certificate-authority-data
is for in the kubeconifg.yml file.
Following the k8s hosting guide, after I run the command:
fly ext k8s create
I am left with a kubeconfig.yml
file, which looked like this:
apiVersion: v1
clusters:
- name: fks-merman-rime-polished-star-804
cluster:
certificate-authority-data:<long_private_key_looking_value>
server: https://fks-merman-rime-polished-star-804.flycast:6443
extensions:
- name: client.authentication.k8s.io/exec
extension:
org: merman-rime
contexts:
- context:
cluster: fks-merman-rime-polished-star-804
user: default
name: default
current-context: default
kind: Config
preferences: {}
users:
- name: default
user:
exec:
command: fly
args:
- ext
- k8s
- kubectl-token
apiVersion: client.authentication.k8s.io/v1
provideClusterInfo: true
interactiveMode: Never
Am I supposed to commit this file to source control? What does certificate-authority-data
field do?