Page MenuHomeSoftware Heritage
Paste P1468

(An Untitled Masterwork)
ActivePublic

Authored by vsellier on Oct 3 2022, 4:03 PM.
function refresh-kubeconfig {
KUBECONFIG=$(find ~/.kube/configs -type f 2>/dev/null | xargs -I % echo -n "%:") kubectl config view --merge --flatten > ~/.kube/config
chmod 700 ~/.kube/config
}