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 .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 CERT_MANAGER_NAMESPACE := env("CERT_MANAGER_NAMESPACE", "cert-manager")
export TRAEFIK_NAMESPACE := env("TRAEFIK_NAMESPACE", "traefik") export TRAEFIK_NAMESPACE := env("TRAEFIK_NAMESPACE", "traefik")
export TRAEFIK_CHART_VERSION := env("TRAEFIK_CHART_VERSION", "v39.0.7")
add-helm-repos: add-helm-repos:
helm repo add traefik https://helm.traefik.io/traefik --force-update helm repo add traefik https://helm.traefik.io/traefik --force-update
@@ -22,6 +23,7 @@ install:
--cleanup-on-fail \ --cleanup-on-fail \
--namespace ${TRAEFIK_NAMESPACE} \ --namespace ${TRAEFIK_NAMESPACE} \
--create-namespace \ --create-namespace \
--version ${TRAEFIK_CHART_VERSION} \
--values traefik-values.yaml --values traefik-values.yaml
helm upgrade cert-manager jetstack/cert-manager \ 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: ports:
web: web:
port: 8000 http:
exposed: true redirections:
exposedPort: 80 entryPoint:
protocol: TCP to: websecure
redirectTo:
port: websecure
websecure: websecure:
port: 8443 http:
exposed: true tls:
exposedPort: 443 enabled: true
http3:
enabled: false
tls:
enabled: true
logs: logs:
general: general:
level: DEBUG level: DEBUG
ingressRoute: ingressRoute:
dashboard: dashboard:
enabled: true enabled: true
entryPoints: [web, websecure]
matchRule: Host(`traefik-dashboard.{{ .Env.EXTERNAL_DOMAIN }}`) matchRule: Host(`traefik-dashboard.{{ .Env.EXTERNAL_DOMAIN }}`)
entryPoints:
- websecure