Vladimir Khlyunev | 3f27ff7 | 2024-11-01 14:42:24 +0400 | [diff] [blame^] | 1 | #!/bin/bash |
Vladimir Khlyunev | c6db341 | 2024-10-18 20:28:02 +0400 | [diff] [blame] | 2 | /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 |
3 | export KUBECONFIG=/root/child.kubeconfig |