fix naming-conventions

This commit is contained in:
Michael Schietzsch 2022-03-05 10:59:20 +01:00
parent e636be1a0e
commit adac340457
No known key found for this signature in database
GPG Key ID: 83C671A925EAD0EE
4 changed files with 5 additions and 5 deletions

View File

@ -99,7 +99,7 @@ resource "null_resource" "kustomization" {
location = var.location
traefik_acme_tls = var.traefik_acme_tls
traefik_acme_email = var.traefik_acme_email
traefik_additionalOptions = var.traefik_additionalOptions
traefik_additional_options = var.traefik_additional_options
})
destination = "/tmp/post_install/traefik.yaml"
}

View File

@ -24,7 +24,7 @@ spec:
- "--entryPoints.websecure.proxyProtocol.trustedIPs=127.0.0.1/32,10.0.0.0/8"
- "--entryPoints.web.forwardedHeaders.trustedIPs=127.0.0.1/32,10.0.0.0/8"
- "--entryPoints.websecure.forwardedHeaders.trustedIPs=127.0.0.1/32,10.0.0.0/8"
%{ for option in traefik_additionalOptions ~}
%{ for option in traefik_additional_options ~}
- "${option}"
%{ endfor ~}
%{ if traefik_acme_tls ~}

View File

@ -92,5 +92,5 @@ load_balancer_type = "lb11"
# ]
# If you want to configure additional Arguments for traefik, enter them here as a list and in the form of traefik CLI arguments; see https://doc.traefik.io/traefik/reference/static-configuration/cli/
# Example: traefik_additionalOptions = ["--log.level=DEBUG", "--tracing=true"]
# traefik_additionalOptions = []
# Example: traefik_additional_options = ["--log.level=DEBUG", "--tracing=true"]
# traefik_additional_options = []

View File

@ -121,7 +121,7 @@ variable "extra_firewall_rules" {
description = "Additional firewall rules to apply to the cluster"
}
variable "traefik_additionalOptions" {
variable "traefik_additional_options" {
type = list(string)
default = []
}