Skip to content

Commit

Permalink
option to customize application log level
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremias - DNX committed Dec 1, 2021
1 parent ffb524a commit 4e76586
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
5 changes: 5 additions & 0 deletions helm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4e76586

Please sign in to comment.