colima icon indicating copy to clipboard operation
colima copied to clipboard

Write kubeconfig to KUBECONFIG defined file

Open Sumoa opened this issue 2 years ago • 5 comments

Currently when starting a vm + k8s cluster the kubeconfig is always written to "~/.kube/config" which is the default path. By defining the env variable "KUBECONFIG" it is possible to override the default path. This does currently not apply to colima. As it is possible to configure multiple locations with "KUBECONFIG" I opted to always use the first configured one as the location to save the config.

Sumoa avatar Feb 06 '24 10:02 Sumoa

@Sumoa can you kindly rebase? I fixed the broken CI.

abiosoft avatar Mar 27 '24 07:03 abiosoft