mirror of
https://github.com/vcscsvcscs/OCI-Kubernetes-cluster-with-traefik.git
synced 2025-08-12 13:59:09 +02:00
fix traefik values.yml
This commit is contained in:
@@ -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 ]
|
||||
}
|
||||
|
@@ -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"
|
||||
}
|
||||
|
@@ -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"
|
||||
}
|
||||
}
|
||||
|
@@ -4,4 +4,4 @@ output "cluster_ocid" {
|
||||
|
||||
output "public_endpoint" {
|
||||
value = one(oci_containerengine_cluster.k8s_cluster.endpoints)
|
||||
}
|
||||
}
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user