diff --git a/_variables.tf b/_variables.tf index ec11b3c..6aea4c7 100644 --- a/_variables.tf +++ b/_variables.tf @@ -13,6 +13,12 @@ variable "secrets_aws_region" { description = "AWS region where secrets are stored." } +variable "log_level" { + type = string + default = "info" + description = "Application log level" +} + variable "cluster_identity_oidc_issuer" { type = string description = "The OIDC Identity issuer for the cluster." diff --git a/helm.tf b/helm.tf index e4e6e22..2c1d065 100644 --- a/helm.tf +++ b/helm.tf @@ -17,6 +17,11 @@ resource "helm_release" "kubernetes_external_secrets" { value = var.secrets_aws_region } + set { + name = "env.LOG_LEVEL" + value = var.log_level + } + set { name = "serviceAccount.create" value = "true"