Unhardcode kubernetes version for k0s
Allow to pass K0S_VERSION
Related-Prod: PRODX-46480
Change-Id: Icc05e4055e4a972e328bb42b332d71de04866180
diff --git a/de/heat-templates/fragments/SrvInstancesVM.yaml b/de/heat-templates/fragments/SrvInstancesVM.yaml
index fd83b44..5a142cb 100644
--- a/de/heat-templates/fragments/SrvInstancesVM.yaml
+++ b/de/heat-templates/fragments/SrvInstancesVM.yaml
@@ -87,6 +87,9 @@
devops_utils_refspec:
type: string
default: 'master'
+ k0s_version:
+ type: string
+ default: ''
resources:
@@ -120,6 +123,7 @@
$secure_overlay_enabled: { get_param: secure_overlay_enabled }
$kubectl_version: { get_param: kubectl_version }
$devops_utils_refspec: { get_param: devops_utils_refspec }
+ $k0s_version: { get_param: k0s_version }
inject_files:
type: "OS::Heat::CloudConfig"