Files
HetznerTerra/infrastructure/addons/traefik/helmrelease-traefik.yaml
MichaelFisher1997 612435c42c
Some checks failed
Deploy Cluster / Terraform (push) Successful in 47s
Deploy Cluster / Ansible (push) Has been cancelled
fix: Add Hetzner LB health check config to Traefik
2026-03-26 03:11:10 +00:00

45 lines
1.2 KiB
YAML

apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: traefik
namespace: flux-system
spec:
interval: 10m
targetNamespace: kube-system
chart:
spec:
chart: traefik
version: "39.0.0"
sourceRef:
kind: HelmRepository
name: traefik
namespace: flux-system
install:
createNamespace: true
remediation:
retries: 3
upgrade:
remediation:
retries: 3
values:
additionalArguments:
- "--entryPoints.flux.address=:9001/tcp"
- "--entryPoints.rancher.address=:9442/tcp"
service:
annotations:
load-balancer.hetzner.cloud/network-zone: eu-central
load-balancer.hetzner.cloud/health-check.port: "80"
load-balancer.hetzner.cloud/health-check.protocol: http
load-balancer.hetzner.cloud/health-check.interval: 15s
load-balancer.hetzner.cloud/health-check.timeout: 10s
load-balancer.hetzner.cloud/health-check.retries: 3
load-balancer.hetzner.cloud/health-check.path: /
ports:
web:
nodePort: 31097
websecure:
nodePort: 30193
rancher:
port: 9442
exposedPort: 9442
protocol: TCP