Skip to content

Commit 8b8cd9f

Browse files
Upgrade openebs to 4.3.3
Upgrade openebs to 4.3.3, and disables all its features we don't use. The previous version pulled an ancient kubectl image that was no longer available for a `Job`, which blocked its deployment.
1 parent 8b78975 commit 8b8cd9f

File tree

4 files changed

+54
-7
lines changed

4 files changed

+54
-7
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ locals {
325325
install_openebs = var.enable_disk_support ? lookup(var.disk_support_config, "install_openebs", true) : false
326326
run_disk_setup_script = var.enable_disk_support ? lookup(var.disk_support_config, "run_disk_setup_script", true) : false
327327
create_storage_class = var.enable_disk_support ? lookup(var.disk_support_config, "create_storage_class", true) : false
328-
openebs_version = lookup(var.disk_support_config, "openebs_version", "4.2.0")
328+
openebs_version = lookup(var.disk_support_config, "openebs_version", "4.3.3")
329329
openebs_namespace = lookup(var.disk_support_config, "openebs_namespace", "openebs")
330330
storage_class_name = lookup(var.disk_support_config, "storage_class_name", "openebs-lvm-instance-store-ext4")
331331
storage_class_provisioner = lookup(var.disk_support_config, "storage_class_provisioner", "local.csi.openebs.io")

modules/eks/main.tf

Lines changed: 51 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,57 @@ resource "helm_release" "openebs" {
104104
chart = "openebs"
105105
version = var.openebs_version
106106

107-
set {
108-
name = "engines.replicated.mayastor.enabled"
109-
value = "false"
110-
}
107+
values = [jsonencode({
108+
"alloy" : {
109+
"enabled" : false,
110+
},
111+
"localpv-provisioner" : {
112+
"localpv" : {
113+
"enabled" : false,
114+
},
115+
"hostpathClass" : {
116+
"enabled" : false,
117+
},
118+
"serviceAccount" : {
119+
"create" : false,
120+
},
121+
},
122+
"zfs-localpv" : {
123+
"enabled" : false,
124+
},
125+
"loki" : {
126+
"enabled" : false,
127+
},
128+
"mayastor" : {
129+
"enabled" : false,
130+
},
131+
"minio" : {
132+
"enabled" : false,
133+
},
134+
"lvm-localpv" : {
135+
"analytics" : {
136+
"enabled" : false,
137+
},
138+
"lvmNode" : {
139+
"nodeSelector" : {
140+
"materialize.cloud/scratch-fs" : "true",
141+
"workload" : "materialize-instance",
142+
},
143+
},
144+
},
145+
"engines" : {
146+
"local" : {
147+
"zfs" : {
148+
"enabled" : false,
149+
},
150+
},
151+
"replicated" : {
152+
"mayastor" : {
153+
"enabled" : false,
154+
},
155+
},
156+
},
157+
})]
111158

112159
depends_on = [kubernetes_namespace.openebs]
113160
}

modules/eks/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ variable "openebs_namespace" {
8989
variable "openebs_version" {
9090
description = "Version of OpenEBS Helm chart to install"
9191
type = string
92-
default = "4.2.0"
92+
default = "4.3.3"
9393
}
9494

9595
variable "enable_disk_setup" {

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ variable "disk_support_config" {
410410
install_openebs = optional(bool, true)
411411
run_disk_setup_script = optional(bool, true)
412412
create_storage_class = optional(bool, true)
413-
openebs_version = optional(string, "4.2.0")
413+
openebs_version = optional(string, "4.3.3")
414414
openebs_namespace = optional(string, "openebs")
415415
storage_class_name = optional(string, "openebs-lvm-instance-store-ext4")
416416
storage_class_provisioner = optional(string, "local.csi.openebs.io")

0 commit comments

Comments
 (0)