fix: use correct path of thin cluster traefik

This commit is contained in:
SeanOMik 2024-09-07 22:41:10 -04:00
parent bf189961f7
commit 1ac0ff5f36
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
6 changed files with 12 additions and 46 deletions

View File

@ -1,8 +0,0 @@
apiVersion: "cilium.io/v2alpha1"
kind: CiliumLoadBalancerIPPool
metadata:
name: "main-pool"
spec:
blocks:
- start: "192.168.1.50"
stop: "192.168.1.59"

View File

@ -1,24 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: traefik-dash-ingress
namespace: traefik
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
spec:
rules:
- host: "traefik.${SECRET_DOMAIN}"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: traefik
port:
number: 9000
tls:
- hosts:
- "${SECRET_DOMAIN}"
- "traefik.${SECRET_DOMAIN}"

View File

@ -75,18 +75,17 @@ spec:
dashboard:
enabled: false
# Set Traefik as your default Ingress Controller, according to Kubernetes 1.19+ changes.
ingressClass:
enabled: true
isDefaultClass: true
name: traefik-external
isDefaultClass: false
name: external
metrics:
prometheus:
entryPoint: metrics
# Set default certificate
tlsStore:
default:
defaultCertificate:
secretName: wildcard-main-tls
# tlsStore:
# default:
# defaultCertificate:
# secretName: wildcard-main-tls

View File

@ -38,7 +38,7 @@ spec:
ports:
web:
port: 8000
nodePort: 30080
nodePort: 30081
expose:
default: true
redirectTo:
@ -47,7 +47,7 @@ spec:
websecure:
port: 8443
nodePort: 30443
nodePort: 30444
expose:
default: true
protocol: TCP
@ -67,8 +67,8 @@ spec:
ingressClass:
enabled: true
isDefaultClass: false
name: traefik-internal
isDefaultClass: true
name: internal
metrics:
prometheus:

View File

@ -4,5 +4,4 @@ resources:
- ./namespace.yaml
- ./helm-repository.yaml
- ./helm-release.yaml
- ./internal-hr.yaml
- ./dashboard-ingress.yaml
- ./internal-hr.yaml

View File

@ -7,7 +7,7 @@ metadata:
spec:
timeout: 5m
interval: 10m
path: ./kubernetes/common/apps/traefik/app/files
path: ./kubernetes/thin/apps/traefik/app/files
prune: true
sourceRef:
kind: GitRepository