Commit Graph

4 Commits

Author SHA1 Message Date
iwilltry42
2a76bba98b
getKubeconfig: modify kubeconfig as an object
Before this change, we simply did a search/replace on the
stringified kubeconfig blob.
Now we're parsing it into a kubeconfig struct and modify the fields
directly in a more controlled manner.
Here's what we change:
- server URL: based on the chosen APIHost and APIPort
- cluster name: default -> k3d-CLUSTERNAME
- user name: default -> admin@k3d-CLUSTERNAME
- context name: default -> admin@k3d-CLUSTERNAME
2020-04-16 11:42:57 +02:00
Thorsten Klein
a34bbc3ef7 try interface 2019-09-24 19:42:29 +02:00
iwilltry42
bdcdbd817a init cobra 2019-09-03 12:04:02 +02:00
iwilltry42
f4687db162 add vendor 2019-04-04 09:23:24 +02:00