Skip to content

Commit

Permalink
fix: remove our company mail from the Let's Encrypt issuer
Browse files Browse the repository at this point in the history
  • Loading branch information
lentidas committed Nov 10, 2023
1 parent 28070db commit 4d23fe3
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 3 deletions.
2 changes: 2 additions & 0 deletions aks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,7 @@ module "cert-manager" {

helm_values = concat(local.helm_values, var.helm_values)

letsencrypt_issuer_email = var.letsencrypt_issuer_email

dependency_ids = var.dependency_ids
}
2 changes: 2 additions & 0 deletions eks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,7 @@ module "cert-manager" {

helm_values = concat(local.helm_values, var.helm_values)

letsencrypt_issuer_email = var.letsencrypt_issuer_email

dependency_ids = var.dependency_ids
}
4 changes: 2 additions & 2 deletions locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ locals {
letsencrypt = {
production = {
name = "letsencrypt-prod"
email = "[email protected]"
email = var.letsencrypt_issuer_email
server = "https://acme-v02.api.letsencrypt.org/directory"
}
staging = {
name = "letsencrypt-staging"
email = "[email protected]"
email = var.letsencrypt_issuer_email
server = "https://acme-staging-v02.api.letsencrypt.org/directory"
}
}
Expand Down
2 changes: 2 additions & 0 deletions scaleway/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ module "cert-manager" {

helm_values = concat(local.helm_values, var.helm_values)

letsencrypt_issuer_email = var.letsencrypt_issuer_email

dependency_ids = var.dependency_ids
}
3 changes: 2 additions & 1 deletion self-signed/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ resource "tls_self_signed_cert" "root" {
is_ca_certificate = true
}


module "cert-manager" {
source = "../"

Expand All @@ -36,5 +35,7 @@ module "cert-manager" {

helm_values = concat(local.helm_values, var.helm_values)

letsencrypt_issuer_email = var.letsencrypt_issuer_email

dependency_ids = var.dependency_ids
}
2 changes: 2 additions & 0 deletions sks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ module "cert-manager" {

helm_values = concat(local.helm_values, var.helm_values)

letsencrypt_issuer_email = var.letsencrypt_issuer_email

dependency_ids = var.dependency_ids
}
5 changes: 5 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ variable "dependency_ids" {
## Module variables
#######################

variable "letsencrypt_issuer_email" {
description = "Email address used to register with Let's Encrypt."
type = string
}

variable "use_default_dns01_solver" {
description = "Whether to use the default dns01 solver configuration."
type = bool
Expand Down

0 comments on commit 4d23fe3

Please sign in to comment.