From e913a4aa137f78ba3399e02416302319b7e7664c Mon Sep 17 00:00:00 2001 From: az Date: Mon, 29 Nov 2021 15:00:53 +0100 Subject: [PATCH] fix cli --- .../provs/extensions/server_software/k3s/application/Cli.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/org/domaindrivenarchitecture/provs/extensions/server_software/k3s/application/Cli.kt b/src/main/kotlin/org/domaindrivenarchitecture/provs/extensions/server_software/k3s/application/Cli.kt index 67c3c70..13297f1 100644 --- a/src/main/kotlin/org/domaindrivenarchitecture/provs/extensions/server_software/k3s/application/Cli.kt +++ b/src/main/kotlin/org/domaindrivenarchitecture/provs/extensions/server_software/k3s/application/Cli.kt @@ -12,7 +12,7 @@ fun main() { val passwordK3sUser = PromptSecretSource("Enter Password").secret() val prov = remote(host, remoteUser, passwordK3sUser) - // val prov = local() + // alternatively run local: val prov = local() prov.task { @@ -26,6 +26,6 @@ fun main() { // print pods for information purpose println(cmd("sudo k3s kubectl get services").out) - checkAppleService("sudo k3s kubectl") + checkAppleService() } } \ No newline at end of file