fixing traefik chart deployment!

This commit is contained in:
baschno
2026-04-03 10:45:50 +02:00
parent bc69332ca5
commit a9ea233c15
3 changed files with 26 additions and 15 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
.env.local
traefik-values.yaml

View File

@@ -2,6 +2,7 @@ set fallback:=true
export CERT_MANAGER_NAMESPACE := env("CERT_MANAGER_NAMESPACE", "cert-manager")
export TRAEFIK_NAMESPACE := env("TRAEFIK_NAMESPACE", "traefik")
export TRAEFIK_CHART_VERSION := env("TRAEFIK_CHART_VERSION", "v39.0.7")
add-helm-repos:
helm repo add traefik https://helm.traefik.io/traefik --force-update
@@ -22,6 +23,7 @@ install:
--cleanup-on-fail \
--namespace ${TRAEFIK_NAMESPACE} \
--create-namespace \
--version ${TRAEFIK_CHART_VERSION} \
--values traefik-values.yaml
helm upgrade cert-manager jetstack/cert-manager \

View File

@@ -1,25 +1,33 @@
additionalArguments:
- "--serversTransport.insecureSkipVerify=true"
- "--log.level=INFO"
deployment:
enabled: true
replicas: 1
annotations: {}
podAnnotations: {}
additionalContainers: []
initContainers: []
ports:
web:
port: 8000
exposed: true
exposedPort: 80
protocol: TCP
redirectTo:
port: websecure
http:
redirections:
entryPoint:
to: websecure
websecure:
port: 8443
exposed: true
exposedPort: 443
http3:
enabled: false
http:
tls:
enabled: true
logs:
general:
level: DEBUG
ingressRoute:
dashboard:
enabled: true
entryPoints: [web, websecure]
matchRule: Host(`traefik-dashboard.{{ .Env.EXTERNAL_DOMAIN }}`)
entryPoints:
- websecure