infra/k8s/system/traefik-helm-chart.yaml
Finn f8abb4747c
All checks were successful
/ diff-and-deploy (push) Successful in 2m15s
handle effects of surprise traefik upgrade
2025-03-29 02:03:01 -07:00

46 lines
1.3 KiB
YAML

apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
name: traefik
namespace: kube-system
spec:
valuesContent: |-
deployment:
replicas: 2
ports:
web:
proxyProtocol:
trustedIPs:
- 10.5.1.245/32
- 10.5.1.1/32
- 10.42.0.0/16 # traffic getting redirected from other nodes
websecure:
proxyProtocol:
trustedIPs:
- 10.5.1.245/32
- 10.5.1.1/32
- 10.42.0.0/16 # traffic getting redirected from other nodes
additionalArguments:
- --providers.file.directory=/file-configs
- --providers.file.watch=true
- --entrypoints.web.http.redirections.entryPoint.to=:443
- --entrypoints.web.http.redirections.entryPoint.scheme=https
- --entrypoints.web.http.redirections.entrypoint.permanent=true
volumes:
- name: traefik-additional-configs
mountPath: /file-configs
type: configMap
providers:
kubernetesCRD:
allowCrossNamespace: true
allowExternalNameServices: true
kubernetesIngress:
allowExternalNameServices: true
logs:
access:
enabled: true
format: json
fields:
headers:
names:
User-Agent: keep