Skip to content

Commit 6a6cbe0

Browse files
fix: Add gh webhook secret (#7)
1 parent 1b54e20 commit 6a6cbe0

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

modules/helm_release/main.tf

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

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

1313
postgres_settings = {
@@ -19,11 +19,12 @@ locals {
1919
}
2020

2121
integrations_settings = var.github_bot != null ? {
22-
"global.integrations.github.bot.name" = var.github_bot.name
23-
"global.integrations.github.bot.appId" = var.github_bot.app_id
24-
"global.integrations.github.bot.clientId" = var.github_bot.client_id
25-
"global.integrations.github.bot.clientSecret" = var.github_bot.client_secret
26-
"global.integrations.github.bot.privateKey" = var.github_bot.client_private_key
22+
"global.integrations.github.bot.name" = var.github_bot.name
23+
"global.integrations.github.bot.appId" = var.github_bot.app_id
24+
"global.integrations.github.bot.clientId" = var.github_bot.client_id
25+
"global.integrations.github.bot.clientSecret" = var.github_bot.client_secret
26+
"global.integrations.github.bot.privateKey" = var.github_bot.client_private_key
27+
"global.integrations.github.bot.webhookSecret" = var.github_bot.webhook_secret
2728
} : {}
2829

2930
auth_providers_settings = {

modules/helm_release/variables.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,12 @@ variable "github_bot" {
7575
client_id = string
7676
client_secret = string
7777
client_private_key = string
78+
webhook_secret = string
7879
})
7980
description = "The GitHub bot user and token."
8081
default = null
8182
}
8283

8384
variable "values" {
8485
type = map(any)
85-
}
86+
}

variables.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ variable "github_bot" {
6969
client_id = string
7070
client_secret = string
7171
client_private_key = string
72+
webhook_secret = string
7273
})
7374
description = "The GitHub bot user and token."
7475
default = null

0 commit comments

Comments
 (0)