Skip to content

Commit

Permalink
fix: conditional issue with persistence defaultClass helm variable (#25)
Browse files Browse the repository at this point in the history
Co-authored-by: hbollon <[email protected]>
  • Loading branch information
hbollon and hbollon authored Jan 26, 2024
1 parent fd1d34f commit f879d01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ Description: Override of target revision of the application chart.

Type: `string`

Default: `"v3.1.0"`
Default: `"v3.2.0"`

==== [[input_helm_values]] <<input_helm_values,helm_values>>

Expand Down Expand Up @@ -642,7 +642,7 @@ Description: ID to pass other modules in order to refer to this module as a depe
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v3.1.0"`
|`"v3.2.0"`
|no
|[[input_helm_values]] <<input_helm_values,helm_values>>
Expand Down
4 changes: 2 additions & 2 deletions locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ locals {
taintToleration = join(";", local.tolerations_list)
}
persistence = {
defaultClass = tostring(var.enable_pv_backups && var.set_default_storage_class)
defaultClass = tostring(!(var.enable_pv_backups && var.set_default_storage_class))
defaultClassReplicaCount = var.replica_count
recurringJobSelector = {
enable = tostring(var.automatic_filesystem_trim.enabled && !var.set_default_storage_class)
Expand Down Expand Up @@ -68,7 +68,7 @@ locals {
enabled = var.enable_monitoring_dashboard
}
servicemonitor = {
enabled = var.enable_service_monitor
enabled = var.enable_service_monitor
additionalAlertLabels = var.additional_alert_labels
}
automaticFilesystemTrim = {
Expand Down

0 comments on commit f879d01

Please sign in to comment.