Skip to content

Commit

Permalink
fix: bump chart version
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Oct 16, 2024
1 parent 69737bb commit a3a3e8f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions modules/helm_release/main.tf
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
locals {
other_settings = {
"global.fqdn" = var.fqdn,

config = {
global = { fqdn = var.fqdn }
}

image_tags = {
"webservice.image.tag" = "a324758",
"migrations.image.tag" = "f8372a7",
"event-worker.image.tag" = "a324758",
"job-policy-checker.image.tag" = "a324758",
"webservice.image.tag" = "f505293",
"migrations.image.tag" = "a6faaf3",
"event-worker.image.tag" = "f505293",
"job-policy-checker.image.tag" = "f505293",
}

postgres_settings = {
"global.postgresql.user" = var.postgres_user,
"global.postgresql.password" = var.postgres_password,
"global.postgresql.host" = var.postgres_host,
"global.postgresql.port" = var.postgres_port,
"global.postgresql.port" = tostring(var.postgres_port),
"global.postgresql.database" = var.postgres_database,
}

Expand All @@ -35,7 +36,7 @@ locals {
redis_settings = {
"global.redis.host" = var.redis_host,
"global.redis.password" = var.redis_password,
"global.redis.port" = var.redis_port,
"global.redis.port" = tostring(var.redis_port),
}

ingress_annotations = {
Expand Down Expand Up @@ -70,7 +71,6 @@ resource "helm_release" "this" {

dynamic "set" {
for_each = merge(
local.other_settings,
local.image_tags,
local.auth_providers_settings,
local.postgres_settings,
Expand All @@ -85,5 +85,5 @@ resource "helm_release" "this" {
}
}

values = [yamlencode(local.merged_values)]
values = [yamlencode(local.merged_values), yamlencode(local.config)]
}
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ variable "google_auth" {

variable "chart_version" {
type = string
default = "0.1.35"
default = "0.1.37"
}

variable "github_bot" {
Expand Down

0 comments on commit a3a3e8f

Please sign in to comment.