You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: update kube_version description and only allow latest instead of default (#286)
BREAKING CHANGE: The variable `kube_version` no longer accepts the value "default". It has been replaced with the string "latest" because the logic has actually always deployed latest and not the default version. Best practise is to lock into a specific version anyway.
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -960,7 +960,7 @@ statement instead the previous block.
960
960
| <aname="input_add_kms_block_storage_s2s"></a> [add\_kms\_block\_storage\_s2s](#input\_add\_kms\_block\_storage\_s2s)| add kms to block storage s2s authorization |`bool`|`true`| no |
961
961
| <aname="input_appid"></a> [appid](#input\_appid)| The App ID instance to be used for the teleport vsi deployments | <pre>object({<br> name = optional(string)<br> resource_group = optional(string)<br> use_data = optional(bool)<br> keys = optional(list(string))<br> use_appid = bool<br> })</pre> | <pre>{<br> "use_appid": false<br>}</pre> | no |
| <a name="input_clusters"></a> [clusters](#input\_clusters) | A list describing clusters workloads to create | <pre>list(<br> object({<br> name = string # Name of Cluster<br> vpc_name = string # Name of VPC<br> subnet_names = list(string) # List of vpc subnets for cluster<br> workers_per_subnet = number # Worker nodes per subnet.<br> machine_type = string # Worker node flavor<br> kube_type = string # iks or openshift<br> kube_version = optional(string) # Can be a version from `ibmcloud ks versions` or `default`<br> entitlement = optional(string) # entitlement option for openshift<br> pod_subnet = optional(string) # Portable subnet for pods<br> service_subnet = optional(string) # Portable subnet for services<br> resource_group = string # Resource Group used for cluster<br> cos_name = optional(string) # Name of COS instance Required only for OpenShift clusters<br> update_all_workers = optional(bool) # If true force workers to update<br> kms_config = optional(<br> object({<br> crk_name = string # Name of key<br> private_endpoint = optional(bool) # Private endpoint<br> })<br> )<br> worker_pools = optional(<br> list(<br> object({<br> name = string # Worker pool name<br> vpc_name = string # VPC name<br> workers_per_subnet = number # Worker nodes per subnet<br> flavor = string # Worker node flavor<br> subnet_names = list(string) # List of vpc subnets for worker pool<br> entitlement = optional(string) # entitlement option for openshift<br> })<br> )<br> )<br> })<br> )</pre> | n/a | yes |
963
+
| <a name="input_clusters"></a> [clusters](#input\_clusters) | A list describing clusters workloads to create | <pre>list(<br> object({<br> name = string # Name of Cluster<br> vpc_name = string # Name of VPC<br> subnet_names = list(string) # List of vpc subnets for cluster<br> workers_per_subnet = number # Worker nodes per subnet.<br> machine_type = string # Worker node flavor<br> kube_type = string # iks or openshift<br> kube_version = optional(string) # Can be a version from `ibmcloud ks versions` or `latest`<br> entitlement = optional(string) # entitlement option for openshift<br> pod_subnet = optional(string) # Portable subnet for pods<br> service_subnet = optional(string) # Portable subnet for services<br> resource_group = string # Resource Group used for cluster<br> cos_name = optional(string) # Name of COS instance Required only for OpenShift clusters<br> update_all_workers = optional(bool) # If true force workers to update<br> kms_config = optional(<br> object({<br> crk_name = string # Name of key<br> private_endpoint = optional(bool) # Private endpoint<br> })<br> )<br> worker_pools = optional(<br> list(<br> object({<br> name = string # Worker pool name<br> vpc_name = string # VPC name<br> workers_per_subnet = number # Worker nodes per subnet<br> flavor = string # Worker node flavor<br> subnet_names = list(string) # List of vpc subnets for worker pool<br> entitlement = optional(string) # entitlement option for openshift<br> })<br> )<br> )<br> })<br> )</pre> | n/a | yes |
964
964
| <a name="input_cos"></a> [cos](#input\_cos) | Object describing the cloud object storage instance, buckets, and keys. Set `use_data` to false to create instance | <pre>list(<br> object({<br> name = string<br> use_data = optional(bool)<br> resource_group = string<br> plan = optional(string)<br> random_suffix = optional(bool) # Use a random suffix for COS instance<br> buckets = list(object({<br> name = string<br> storage_class = string<br> endpoint_type = string<br> force_delete = bool<br> single_site_location = optional(string)<br> region_location = optional(string)<br> cross_region_location = optional(string)<br> kms_key = optional(string)<br> allowed_ip = optional(list(string))<br> hard_quota = optional(number)<br> archive_rule = optional(object({<br> days = number<br> enable = bool<br> rule_id = optional(string)<br> type = string<br> }))<br> activity_tracking = optional(object({<br> activity_tracker_crn = string<br> read_data_events = bool<br> write_data_events = bool<br> }))<br> metrics_monitoring = optional(object({<br> metrics_monitoring_crn = string<br> request_metrics_enabled = optional(bool)<br> usage_metrics_enabled = optional(bool)<br> }))<br> }))<br> keys = optional(<br> list(object({<br> name = string<br> role = string<br> enable_HMAC = bool<br> }))<br> )<br><br> })<br> )</pre> | n/a | yes |
965
965
| <aname="input_enable_transit_gateway"></a> [enable\_transit\_gateway](#input\_enable\_transit\_gateway)| Create transit gateway |`bool`|`true`| no |
Copy file name to clipboardExpand all lines: module-metadata.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@
60
60
},
61
61
"clusters": {
62
62
"name": "clusters",
63
-
"type": "list(\n object({\n name = string # Name of Cluster\n vpc_name = string # Name of VPC\n subnet_names = list(string) # List of vpc subnets for cluster\n workers_per_subnet = number # Worker nodes per subnet.\n machine_type = string # Worker node flavor\n kube_type = string # iks or openshift\n kube_version = optional(string) # Can be a version from `ibmcloud ks versions` or `default`\n entitlement = optional(string) # entitlement option for openshift\n pod_subnet = optional(string) # Portable subnet for pods\n service_subnet = optional(string) # Portable subnet for services\n resource_group = string # Resource Group used for cluster\n cos_name = optional(string) # Name of COS instance Required only for OpenShift clusters\n update_all_workers = optional(bool) # If true force workers to update\n kms_config = optional(\n object({\n crk_name = string # Name of key\n private_endpoint = optional(bool) # Private endpoint\n })\n )\n worker_pools = optional(\n list(\n object({\n name = string # Worker pool name\n vpc_name = string # VPC name\n workers_per_subnet = number # Worker nodes per subnet\n flavor = string # Worker node flavor\n subnet_names = list(string) # List of vpc subnets for worker pool\n entitlement = optional(string) # entitlement option for openshift\n })\n )\n )\n })\n )",
63
+
"type": "list(\n object({\n name = string # Name of Cluster\n vpc_name = string # Name of VPC\n subnet_names = list(string) # List of vpc subnets for cluster\n workers_per_subnet = number # Worker nodes per subnet.\n machine_type = string # Worker node flavor\n kube_type = string # iks or openshift\n kube_version = optional(string) # Can be a version from `ibmcloud ks versions` or `latest`\n entitlement = optional(string) # entitlement option for openshift\n pod_subnet = optional(string) # Portable subnet for pods\n service_subnet = optional(string) # Portable subnet for services\n resource_group = string # Resource Group used for cluster\n cos_name = optional(string) # Name of COS instance Required only for OpenShift clusters\n update_all_workers = optional(bool) # If true force workers to update\n kms_config = optional(\n object({\n crk_name = string # Name of key\n private_endpoint = optional(bool) # Private endpoint\n })\n )\n worker_pools = optional(\n list(\n object({\n name = string # Worker pool name\n vpc_name = string # VPC name\n workers_per_subnet = number # Worker nodes per subnet\n flavor = string # Worker node flavor\n subnet_names = list(string) # List of vpc subnets for worker pool\n entitlement = optional(string) # entitlement option for openshift\n })\n )\n )\n })\n )",
64
64
"description": "A list describing clusters workloads to create",
Copy file name to clipboardExpand all lines: patterns/mixed/variables.tf
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -153,9 +153,9 @@ variable "cluster_zones" {
153
153
}
154
154
155
155
variable"kube_version" {
156
-
description="Kubernetes version to use for cluster. To get available versions, use the IBM Cloud CLI command `ibmcloud ks versions`. To use the default version, leave as default. Updates to the default versions may force this to change."
156
+
description="Kubernetes version to use for cluster. To get available versions, use the IBM Cloud CLI command `ibmcloud ks versions`. To use the latest version, leave as latest. Updates to the latest versions may force this to change."
Copy file name to clipboardExpand all lines: patterns/roks/variables.tf
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -119,9 +119,9 @@ variable "cluster_zones" {
119
119
}
120
120
121
121
variable"kube_version" {
122
-
description="Kubernetes version to use for cluster. To get available versions, use the IBM Cloud CLI command `ibmcloud ks versions`. To use the default version, leave as default. Updates to the default versions may force this to change."
122
+
description="Kubernetes version to use for cluster. To get available versions, use the IBM Cloud CLI command `ibmcloud ks versions`. To use the latest version, leave as latest. Updates to the latest versions may force this to change."
0 commit comments