Comment out kubectl stuff
This commit is contained in:
parent
29ad28627c
commit
3f40845111
1 changed files with 2 additions and 1 deletions
|
@ -44,7 +44,7 @@ fun Prov.installKubectl(): ProvResult = def {
|
||||||
aptInstall("kubectl")
|
aptInstall("kubectl")
|
||||||
cmd("kubectl completion bash >> /etc/bash_completion.d/kubernetes", sudo = true)
|
cmd("kubectl completion bash >> /etc/bash_completion.d/kubernetes", sudo = true)
|
||||||
// TODO: externalize to file - trippeld escaping is realy ugly & does not work
|
// TODO: externalize to file - trippeld escaping is realy ugly & does not work
|
||||||
var kubeConfig = """
|
/*var kubeConfig = """
|
||||||
# Set the default kube context if present
|
# Set the default kube context if present
|
||||||
DEFAULT_KUBE_CONTEXTS="$HOME/.kube/config"
|
DEFAULT_KUBE_CONTEXTS="$HOME/.kube/config"
|
||||||
if test -f "${DEFAULT_KUBE_CONTEXTS}"
|
if test -f "${DEFAULT_KUBE_CONTEXTS}"
|
||||||
|
@ -66,6 +66,7 @@ fun Prov.installKubectl(): ProvResult = def {
|
||||||
|
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
createFile(kubeConfigFile, kubeConfig, "640")
|
createFile(kubeConfigFile, kubeConfig, "640")
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
val tunnelAliasFile = "~/.bashrc.d/ssh_alias.sh"
|
val tunnelAliasFile = "~/.bashrc.d/ssh_alias.sh"
|
||||||
|
|
Loading…
Reference in a new issue