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
cluster_ocid = module.oke.cluster_ocid
values_file = "traefik-values.yaml"
values_file = "traefik-values.yml"
depends_on = [ module.oke ]
}

View File

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

View File

@@ -23,4 +23,4 @@ data "oci_containerengine_cluster_kube_config" "cluster_kube_config" {
resource "local_file" "oke_kubeconfig" {
content = data.oci_containerengine_cluster_kube_config.cluster_kube_config.content
filename = "${path.module}/kubeconfig"
}
}

View File

@@ -4,4 +4,4 @@ output "cluster_ocid" {
output "public_endpoint" {
value = one(oci_containerengine_cluster.k8s_cluster.endpoints)
}
}

View File

@@ -870,25 +870,30 @@ persistence:
# -- Certificates resolvers configuration
certResolvers: {}
# letsencrypt:
#letsencrypt:
# # for challenge options cf. https://doc.traefik.io/traefik/https/acme/
# email: email@example.com
# dnsChallenge:
# email: email@example.com
# dnsChallenge:
# # also add the provider's required configuration under env
# # or expand then from secrets/configmaps with envfrom
# # cf. https://doc.traefik.io/traefik/https/acme/#providers
# provider: cloudflare
# provider: cloudflare
# # add futher options for the dns challenge as needed
# # cf. https://doc.traefik.io/traefik/https/acme/#dnschallenge
# delayBeforeCheck: 30
# resolvers:
# - 1.1.1.1
# - 8.8.8.8
# tlsChallenge: true
# httpChallenge:
# tlsChallenge: true
# httpChallenge:
# entryPoint: "web"
# # 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
# To prevent unschedulabel pods due to port collisions, if hostNetwork=true