Get kubectl version from passed parameters
Related-Bug: PRODX-26710
Change-Id: I1d8d6133ec13663cd9cb54ed48b14ccdce133733
diff --git a/de/heat-templates/fragments/SrvInstancesVM.yaml b/de/heat-templates/fragments/SrvInstancesVM.yaml
index 67e92e0..f4158a2 100644
--- a/de/heat-templates/fragments/SrvInstancesVM.yaml
+++ b/de/heat-templates/fragments/SrvInstancesVM.yaml
@@ -75,6 +75,9 @@
default: nova
secure_overlay_enabled:
type: boolean
+ kubectl_version:
+ type: string
+ default: 1.18.8
resources:
@@ -103,6 +106,7 @@
$docker_default_address_pool: { get_param: docker_default_address_pool }
$single_node: { get_param: single_node }
$secure_overlay_enabled: { get_param: secure_overlay_enabled }
+ $kubectl_version: { get_param: kubectl_version }
inject_files:
type: "OS::Heat::CloudConfig"