chore(traefik): adjust default values

This commit is contained in:
David Landry 2023-11-12 16:06:44 -05:00
parent 12fbf16816
commit 58d020924b
3 changed files with 10 additions and 9 deletions

View file

@ -8,7 +8,7 @@ spec:
issuerRef:
name: lets-encrypt-dns01-production-cf
kind: ClusterIssuer
commonName: '<secret:private-domain>'
commonName: '{{ .Values.traefik.domain }}'
dnsNames:
- '<secret:private-domain>'
- '*.<secret:private-domain>'
- '{{ .Values.traefik.domain }}'
- '*.{{ .Values.traefik.domain }}'

View file

@ -9,7 +9,7 @@ spec:
entryPoints:
- websecure
routes:
- match: Host(`traefik.<secret:private-domain>`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`))
- match: Host(`traefik.{{ .Values.traefik.domain }}`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`))
kind: Rule
services:
- name: api@internal

View file

@ -1,5 +1,6 @@
---
traefik:
domain: int.nc.landry.land
ports:
web:
redirectTo:
@ -8,10 +9,10 @@ traefik:
# Options for the main traefik service, where the entrypoints traffic comes
# from.
service:
annotations: {
metallb.universe.tf/loadBalancerIPs: "192.168.48.21"
}
single: false
# annotations: {
# metallb.universe.tf/loadBalancerIPs: "192.168.48.21"
# }
# single: false
tlsStore:
default:
@ -23,7 +24,7 @@ traefik:
ingressRoute:
dashboard:
enabled: false
enabled: true
providers:
kubernetesCRD: