Comment out kubectl stuff

This commit is contained in:
bom 2021-10-01 14:02:08 +02:00
parent 29ad28627c
commit 3f40845111

View file

@ -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"