Prevent minikube from doing weird stuff
This commit is contained in:
parent
7d031308ce
commit
a6d7b32b7a
|
@ -41,3 +41,18 @@ def --env kube [name?: string@_kube_kubes] {
|
||||||
|
|
||||||
alias kns = k9s
|
alias kns = k9s
|
||||||
|
|
||||||
|
# minikube: don't erase my kubeconfig
|
||||||
|
def "minikube start" [] {
|
||||||
|
$env.KUBECONFIG = ([$env.HOME, '.kubes', 'test', 'config'] | path join)
|
||||||
|
^minikube start
|
||||||
|
}
|
||||||
|
|
||||||
|
def "minikube stop" [] {
|
||||||
|
$env.KUBECONFIG = ([$env.HOME, '.kubes', 'test', 'config'] | path join)
|
||||||
|
^minikube stop
|
||||||
|
}
|
||||||
|
|
||||||
|
def "minikube delete" [] {
|
||||||
|
$env.KUBECONFIG = ([$env.HOME, '.kubes', 'test', 'config'] | path join)
|
||||||
|
^minikube delete
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue