Skip to content

Commit 783143e

Browse files
committed
feat: optional enable helm deployment
1 parent 0626d8b commit 783143e

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ resource "google_compute_managed_ssl_certificate" "this" {
8383
}
8484

8585
module "helm_release" {
86+
count = var.deploy_helm_release ? 1 : 0
8687
source = "./modules/helm_release"
8788

8889
fqdn = var.fqdn

modules/helm_release/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ locals {
44
}
55

66
image_tags = {
7-
"webservice.image.tag" = "e352ed4",
8-
"migrations.image.tag" = "e352ed4",
9-
"event-worker.image.tag" = "e352ed4",
10-
"job-policy-checker.image.tag" = "e352ed4",
7+
"webservice.image.tag" = "9fce138",
8+
"migrations.image.tag" = "57101f8",
9+
"event-worker.image.tag" = "57101f8",
10+
"job-policy-checker.image.tag" = "57101f8",
1111
}
1212

1313
postgres_settings = {

variables.tf

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,9 @@ variable "github_bot" {
7777
variable "helm_values" {
7878
type = any
7979
default = { otel = { install = true } }
80-
}
80+
}
81+
82+
variable "deploy_helm_release" {
83+
type = bool
84+
default = true
85+
}

0 commit comments

Comments
 (0)