From 47ba42bd0b00ee14b603aa5b43e6280cefc5a955 Mon Sep 17 00:00:00 2001 From: ansgarz Date: Fri, 20 May 2022 10:06:35 +0200 Subject: [PATCH] pinning k3s version --- .../domaindrivenarchitecture/provs/server/infrastructure/K3s.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/org/domaindrivenarchitecture/provs/server/infrastructure/K3s.kt b/src/main/kotlin/org/domaindrivenarchitecture/provs/server/infrastructure/K3s.kt index faf674f..27df411 100644 --- a/src/main/kotlin/org/domaindrivenarchitecture/provs/server/infrastructure/K3s.kt +++ b/src/main/kotlin/org/domaindrivenarchitecture/provs/server/infrastructure/K3s.kt @@ -82,7 +82,7 @@ fun Prov.installK3s(k3sConfig: K3sConfig) = taskWithResult { createK3sFileFromResourceTemplate(k3sConfigFile, k3sConfigMap, alternativeResourceTemplate = File(k3sConfigResourceFileName)) createK3sFileFromResource(k3sInstallScript, posixFilePermission = "755") - cmd("INSTALL_K3S_CHANNEL=latest k3s-install.sh") + cmd("INSTALL_K3S_VERSION=v1.23.6+k3s1 k3s-install.sh") // metallb applyK3sFileFromResource(File(k3sManualManifestsDir, "metallb-namespace.yaml"))