fix traefik values.yml

This commit is contained in:
2024-03-03 21:35:45 +01:00
parent d30764da14
commit 9f83240ef1
5 changed files with 16 additions and 11 deletions

View File

@@ -51,7 +51,7 @@ module "nlb" {
compartment_ocid = var.compartment_ocid compartment_ocid = var.compartment_ocid
cluster_ocid = module.oke.cluster_ocid cluster_ocid = module.oke.cluster_ocid
values_file = "traefik-values.yaml" values_file = "traefik-values.yml"
depends_on = [ module.oke ] depends_on = [ module.oke ]
} }

View File

@@ -34,5 +34,5 @@ variable "replica_count" {
variable "values_file" { variable "values_file" {
description = "The name of the traefik helmchart values file to use" description = "The name of the traefik helmchart values file to use"
type = string type = string
default = "values.yaml" default = "traefik-values.yml"
} }

View File

@@ -870,25 +870,30 @@ persistence:
# -- Certificates resolvers configuration # -- Certificates resolvers configuration
certResolvers: {} certResolvers: {}
# letsencrypt: #letsencrypt:
# # for challenge options cf. https://doc.traefik.io/traefik/https/acme/ # # for challenge options cf. https://doc.traefik.io/traefik/https/acme/
# email: email@example.com # email: email@example.com
# dnsChallenge: # dnsChallenge:
# # also add the provider's required configuration under env # # also add the provider's required configuration under env
# # or expand then from secrets/configmaps with envfrom # # or expand then from secrets/configmaps with envfrom
# # cf. https://doc.traefik.io/traefik/https/acme/#providers # # cf. https://doc.traefik.io/traefik/https/acme/#providers
# provider: cloudflare # provider: cloudflare
# # add futher options for the dns challenge as needed # # add futher options for the dns challenge as needed
# # cf. https://doc.traefik.io/traefik/https/acme/#dnschallenge # # cf. https://doc.traefik.io/traefik/https/acme/#dnschallenge
# delayBeforeCheck: 30 # delayBeforeCheck: 30
# resolvers: # resolvers:
# - 1.1.1.1 # - 1.1.1.1
# - 8.8.8.8 # - 8.8.8.8
# tlsChallenge: true # tlsChallenge: true
# httpChallenge: # httpChallenge:
# entryPoint: "web" # entryPoint: "web"
# # It has to match the path with a persistent volume # # It has to match the path with a persistent volume
# storage: /data/acme.json # storage: /data/acme.json
# env:
# - name: CLOUDFLARE_EMAIL
# value: ""
# - name: CLOUDFLARE_API_KEY
# value: ""
# -- If hostNetwork is true, runs traefik in the host network namespace # -- If hostNetwork is true, runs traefik in the host network namespace
# To prevent unschedulabel pods due to port collisions, if hostNetwork=true # To prevent unschedulabel pods due to port collisions, if hostNetwork=true