Skip to content

Commit

Permalink
assign smtp_ vars
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Nov 8, 2024
1 parent 0e1f95e commit 4a32bf5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions modules/signoz-fluxcd/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ resource "kubernetes_config_map" "clickhouse-backup-config" {
s3:
bucket: ${aws_s3_bucket.clickhouse_backup.id}
endpoint: s3.amazonaws.com
region: us-east-1
region: ${var.region}
access_key: ${aws_iam_access_key.backup.id}
secret_key: ${aws_iam_access_key.backup.secret}
EOT
Expand All @@ -129,12 +129,17 @@ resource "kubernetes_config_map" "clickhouse-backup-config" {

resource "kubectl_manifest" "signoz-helm-release" {
depends_on = [kubernetes_namespace.signoz]

smtp_user = var.smtp_user
smtp_password = var.smtp_password
smtp_from = var.smtp_from

yaml_body = <<YAML
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: signoz
namespace: ${var.namespace}
namespace: ${var.namespace}
spec:
interval: 10m
chart:
Expand Down

0 comments on commit 4a32bf5

Please sign in to comment.