Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions modules/helm_release/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ locals {
}

image_tags = {
"webservice.image.tag" = "9fce138",
"migrations.image.tag" = "57101f8",
"event-worker.image.tag" = "57101f8",
"job-policy-checker.image.tag" = "57101f8",
"webservice.image.tag" = "55631d3",
"migrations.image.tag" = "e2b19bd",
"event-worker.image.tag" = "78ed086",
"job-policy-checker.image.tag" = "78ed086",
}

postgres_settings = {
Expand All @@ -19,11 +19,12 @@ locals {
}

integrations_settings = var.github_bot != null ? {
"global.integrations.github.bot.name" = var.github_bot.name
"global.integrations.github.bot.appId" = var.github_bot.app_id
"global.integrations.github.bot.clientId" = var.github_bot.client_id
"global.integrations.github.bot.clientSecret" = var.github_bot.client_secret
"global.integrations.github.bot.privateKey" = var.github_bot.client_private_key
"global.integrations.github.bot.name" = var.github_bot.name
"global.integrations.github.bot.appId" = var.github_bot.app_id
"global.integrations.github.bot.clientId" = var.github_bot.client_id
"global.integrations.github.bot.clientSecret" = var.github_bot.client_secret
"global.integrations.github.bot.privateKey" = var.github_bot.client_private_key
"global.integrations.github.bot.webhookSecret" = var.github_bot.webhook_secret
} : {}

auth_providers_settings = {
Expand Down
3 changes: 2 additions & 1 deletion modules/helm_release/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,12 @@ variable "github_bot" {
client_id = string
client_secret = string
client_private_key = string
webhook_secret = string
})
description = "The GitHub bot user and token."
default = null
}

variable "values" {
type = map(any)
}
}
1 change: 1 addition & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ variable "github_bot" {
client_id = string
client_secret = string
client_private_key = string
webhook_secret = string
})
description = "The GitHub bot user and token."
default = null
Expand Down
Loading