Skip to content

Commit fd3e3fe

Browse files
authored
feat: added support for OCP v4.16 - this is now the default version that will be deployed (#895)
1 parent 206b629 commit fd3e3fe

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

ibm_catalog.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,6 +1135,10 @@
11351135
{
11361136
"displayname": "4.15_openshift",
11371137
"value": "4.15_openshift"
1138+
},
1139+
{
1140+
"displayname": "4.16_openshift",
1141+
"value": "4.16_openshift"
11381142
}
11391143
],
11401144
"custom_config": {}

patterns/roks/variables.tf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,19 +192,20 @@ variable "cluster_zones" {
192192
}
193193

194194
variable "kube_version" {
195-
description = "The version of the OpenShift cluster that should be provisioned. Current supported values are '4.15_openshift', '4.14_openshift', '4.13_openshift', or '4.12_openshift'. NOTE: This is only used during initial cluster provisioning, but ignored for future updates. Cluster version updates should be done outside of terraform to prevent possible destructive changes."
195+
description = "The version of the OpenShift cluster that should be provisioned. Current supported values are '4.16_openshift', '4.15_openshift', '4.14_openshift', '4.13_openshift', or '4.12_openshift'. NOTE: This is only used during initial cluster provisioning, but ignored for future updates. Cluster version updates should be done outside of terraform to prevent possible destructive changes."
196196
type = string
197-
default = "4.15_openshift"
197+
default = "4.16_openshift"
198198
validation {
199199
condition = anytrue([
200200
var.kube_version == null,
201201
var.kube_version == "default",
202+
var.kube_version == "4.16_openshift",
202203
var.kube_version == "4.15_openshift",
203204
var.kube_version == "4.14_openshift",
204205
var.kube_version == "4.13_openshift",
205206
var.kube_version == "4.12_openshift",
206207
])
207-
error_message = "The kube_version value can currently only be '4.15_openshift', '4.14_openshift', '4.13_openshift', or '4.12_openshift'"
208+
error_message = "The kube_version value can currently only be '4.16_openshift', '4.15_openshift', '4.14_openshift', '4.13_openshift', or '4.12_openshift'"
208209
}
209210
}
210211

0 commit comments

Comments
 (0)