Gitiles
Code Review
Sign In
gerrit.mcp.mirantis.com
/
mcp
/
tcp-qa
/
3f27ff75c45647bdbb84eee667498ba5b03822aa
/
.
/
bm_mcc_mosk
/
seed
/
get_child_kubeconfig.sh
blob: e1c39c19babc7c4b226574208e07cc026fced8d3 [
file
] [
log
] [
blame
]
#!/bin/bash
/
root
/
kaas
-
bootstrap
/
bin
/
kubectl
--
kubeconfig
/
root
/
kubeconfig
-
n mosk get secrets mosk
-
kubeconfig
-
o jsonpath
=
'{.data.admin\.conf}'
|
base64
-
d
|
sed
's/:5443/:443/g'
>
/
root
/
child
.
kubeconfig
export KUBECONFIG
=/
root
/
child
.
kubeconfig