File tree Expand file tree Collapse file tree 4 files changed +64
-12
lines changed Expand file tree Collapse file tree 4 files changed +64
-12
lines changed Original file line number Diff line number Diff line change 99 install_openebs = var.enable_disk_support ? lookup (var. disk_support_config , " install_openebs" , true ) : false
1010 run_disk_setup_script = var.enable_disk_support ? lookup (var. disk_support_config , " run_disk_setup_script" , true ) : false
1111 create_storage_class = var.enable_disk_support ? lookup (var. disk_support_config , " create_storage_class" , true ) : false
12- openebs_version = lookup (var. disk_support_config , " openebs_version" , " 4.2.0 " )
12+ openebs_version = lookup (var. disk_support_config , " openebs_version" , " 4.3.3 " )
1313 openebs_namespace = lookup (var. disk_support_config , " openebs_namespace" , " openebs" )
1414 storage_class_name = lookup (var. disk_support_config , " storage_class_name" , " openebs-lvm-instance-store-ext4" )
1515 storage_class_provisioner = " local.csi.openebs.io"
Original file line number Diff line number Diff line change @@ -111,15 +111,67 @@ resource "helm_release" "openebs" {
111111 chart = " openebs"
112112 version = var. openebs_version
113113
114- set {
115- name = " engines.replicated.mayastor.enabled"
116- value = " false"
117- }
118-
119- set {
120- name = " openebs-crds.csi.volumeSnapshots.enabled"
121- value = " false"
122- }
114+ values = [jsonencode ({
115+ " alloy" : {
116+ " enabled" : false ,
117+ },
118+ " localpv-provisioner" : {
119+ " localpv" : {
120+ " enabled" : false ,
121+ },
122+ " hostpathClass" : {
123+ " enabled" : false ,
124+ },
125+ " serviceAccount" : {
126+ " create" : false ,
127+ },
128+ },
129+ " zfs-localpv" : {
130+ " enabled" : false ,
131+ },
132+ " loki" : {
133+ " enabled" : false ,
134+ },
135+ " mayastor" : {
136+ " enabled" : false ,
137+ },
138+ " minio" : {
139+ " enabled" : false ,
140+ },
141+ " lvm-localpv" : {
142+ " analytics" : {
143+ " enabled" : false ,
144+ },
145+ " lvmNode" : {
146+ " nodeSelector" : {
147+ " materialize.cloud/scratch-fs" : " true" ,
148+ " workload" : " materialize-instance" ,
149+ },
150+ },
151+ },
152+ " engines" : {
153+ " local" : {
154+ " zfs" : {
155+ " enabled" : false ,
156+ },
157+ },
158+ " replicated" : {
159+ " mayastor" : {
160+ " enabled" : false ,
161+ },
162+ },
163+ },
164+ # Unable to continue with install: CustomResourceDefinition "volumesnapshotclasses.snapshot.storage.k8s.io"
165+ # in namespace "" exists and cannot be imported into the current release
166+ # https://github.com/openebs/website/pull/506
167+ " openebs-crds" : {
168+ " csi" : {
169+ " volumeSnapshots" : {
170+ " enabled" : false ,
171+ },
172+ },
173+ },
174+ })]
123175
124176 depends_on = [
125177 kubernetes_namespace . openebs
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ variable "openebs_namespace" {
8282variable "openebs_version" {
8383 description = " Version of OpenEBS Helm chart to install"
8484 type = string
85- default = " 4.2.0 "
85+ default = " 4.3.3 "
8686}
8787
8888variable "disk_setup_image" {
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ variable "disk_support_config" {
191191 install_openebs = optional (bool , true )
192192 run_disk_setup_script = optional (bool , true )
193193 create_storage_class = optional (bool , true )
194- openebs_version = optional (string , " 4.2.0 " )
194+ openebs_version = optional (string , " 4.3.3 " )
195195 openebs_namespace = optional (string , " openebs" )
196196 storage_class_name = optional (string , " openebs-lvm-instance-store-ext4" )
197197 })
You can’t perform that action at this time.
0 commit comments