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: issuerRef:
name: lets-encrypt-dns01-production-cf name: lets-encrypt-dns01-production-cf
kind: ClusterIssuer kind: ClusterIssuer
commonName: '<secret:private-domain>' commonName: '{{ .Values.traefik.domain }}'
dnsNames: dnsNames:
- '<secret:private-domain>' - '{{ .Values.traefik.domain }}'
- '*.<secret:private-domain>' - '*.{{ .Values.traefik.domain }}'

View file

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

View file

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