Commit Graph

4 Commits

Author SHA1 Message Date
iwilltry42
5aa1edfb73
update to go1.17 and update direct dependencies 2021-09-07 08:57:05 +02:00
Thorsten Klein
eff262b3c7
[FIX] deps: switch back to upstream viper (StringArray fix) (#655) 2021-06-28 13:51:43 +02:00
iwilltry42
c688391549
vendor update including kubernetes, docker, containerd, etc. 2021-03-04 15:34:25 +01:00
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