fix: remove all manual usages of wildcard cert, only use traefik default cert

This commit is contained in:
SeanOMik 2024-02-03 23:16:50 -05:00
parent ccc22fe9fd
commit 44d02b317c
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
4 changed files with 3 additions and 11 deletions

View File

@ -33,7 +33,6 @@ spec:
main:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
hosts:
@ -43,5 +42,4 @@ spec:
pathType: Prefix
tls:
- hosts:
- *host
secretName: wildcard-main-tls
- *host

View File

@ -64,7 +64,6 @@ spec:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
hosts:
@ -75,5 +74,4 @@ spec:
tls:
- hosts:
- *host
secretName: wildcard-main-tls
- *host

View File

@ -4,7 +4,6 @@ metadata:
name: traefik-dash-ingress
namespace: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
spec:
@ -22,5 +21,4 @@ spec:
tls:
- hosts:
- "${SECRET_DOMAIN}"
- "traefik.${SECRET_DOMAIN}"
secretName: wildcard-main-tls
- "traefik.${SECRET_DOMAIN}"

View File

@ -21,12 +21,10 @@ spec:
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
host: lnghrn.${SECRET_NEW_DOMAIN}
tls: true
tlsSecret: wildcard-main-tls
persistence:
defaultClassReplicaCount: 1 # TODO: When the cluster expands, expand the replica count