Skip to content

Commit

Permalink
feat: added support for OCP v4.16 - this is now the default version…
Browse files Browse the repository at this point in the history
… that will be deployed (#895)
  • Loading branch information
imprateeksh authored Oct 14, 2024
1 parent 206b629 commit fd3e3fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ibm_catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,10 @@
{
"displayname": "4.15_openshift",
"value": "4.15_openshift"
},
{
"displayname": "4.16_openshift",
"value": "4.16_openshift"
}
],
"custom_config": {}
Expand Down
7 changes: 4 additions & 3 deletions patterns/roks/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -192,19 +192,20 @@ variable "cluster_zones" {
}

variable "kube_version" {
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."
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."
type = string
default = "4.15_openshift"
default = "4.16_openshift"
validation {
condition = anytrue([
var.kube_version == null,
var.kube_version == "default",
var.kube_version == "4.16_openshift",
var.kube_version == "4.15_openshift",
var.kube_version == "4.14_openshift",
var.kube_version == "4.13_openshift",
var.kube_version == "4.12_openshift",
])
error_message = "The kube_version value can currently only be '4.15_openshift', '4.14_openshift', '4.13_openshift', or '4.12_openshift'"
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'"
}
}

Expand Down

0 comments on commit fd3e3fe

Please sign in to comment.