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: dashboard:
enabled: false enabled: false
# Set Traefik as your default Ingress Controller, according to Kubernetes 1.19+ changes.
ingressClass: ingressClass:
enabled: true enabled: true
isDefaultClass: true isDefaultClass: false
name: traefik-external name: external
metrics: metrics:
prometheus: prometheus:
entryPoint: metrics entryPoint: metrics
# Set default certificate # Set default certificate
tlsStore: # tlsStore:
default: # default:
defaultCertificate: # defaultCertificate:
secretName: wildcard-main-tls # secretName: wildcard-main-tls

View File

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

View File

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

View File

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