mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-09-02 17:35:49 +00:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
f4c0adf54c | ||
|
ac6757b9cc | ||
|
70c970cd6e | ||
|
95adff55b0 |
@@ -124,7 +124,7 @@ contexts:
|
|||||||
current-context: multus-context
|
current-context: multus-context
|
||||||
`
|
`
|
||||||
kubeconfig := fmt.Sprintf(kubeConfigTemplate, protocol, k8sServiceIP, k8sServicePort, tlsConfig, serviceAccountToken)
|
kubeconfig := fmt.Sprintf(kubeConfigTemplate, protocol, k8sServiceIP, k8sServicePort, tlsConfig, serviceAccountToken)
|
||||||
logInfo("Generated KubeConfig: \n%s", kubeconfig)
|
logInfo("Generated KubeConfig saved to %s: \n%s", outputPath, kubeconfig)
|
||||||
return ioutil.WriteFile(outputPath, []byte(kubeconfig), userRWPermission)
|
return ioutil.WriteFile(outputPath, []byte(kubeconfig), userRWPermission)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -83,7 +83,7 @@ function warn()
|
|||||||
log "WARN: {$1}"
|
log "WARN: {$1}"
|
||||||
}
|
}
|
||||||
|
|
||||||
if ! type python3 &> /dev/null; then
|
if type python3 &> /dev/null; then
|
||||||
alias python=python3
|
alias python=python3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user