mirror of https://github.com/k3s-io/k3s
Merge pull request #22282 from andrewstuart/fix-config-writing
Update start_kubedns to use API_{HOST,PORT} varspull/6/head
commit
9cb3f16c5b
|
@ -386,7 +386,7 @@ kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
name: kube-system
|
name: kube-system
|
||||||
EOF
|
EOF
|
||||||
${KUBECTL} config set-cluster local --server=http://127.0.0.1:8080 --insecure-skip-tls-verify=true
|
${KUBECTL} config set-cluster local --server=http://${API_HOST}:${API_PORT} --insecure-skip-tls-verify=true
|
||||||
${KUBECTL} config set-context local --cluster=local
|
${KUBECTL} config set-context local --cluster=local
|
||||||
${KUBECTL} config use-context local
|
${KUBECTL} config use-context local
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue