infra/roles/k8s-node/templates/traefik-config.yaml
2024-08-05 14:20:10 -07:00

29 lines
771 B
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
volumes:
- name: traefik-additional-configs
mountPath: /file-configs
type: configMap