fix: use correct path of thin cluster traefik
This commit is contained in:
parent
6bb2b612a8
commit
d2be6e6cc9
|
@ -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"
|
|
@ -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}"
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -4,5 +4,4 @@ resources:
|
|||
- ./namespace.yaml
|
||||
- ./helm-repository.yaml
|
||||
- ./helm-release.yaml
|
||||
- ./internal-hr.yaml
|
||||
- ./dashboard-ingress.yaml
|
||||
- ./internal-hr.yaml
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue