infra/roles/k8s-node/templates/traefik-config.yaml

39 lines
1.1 KiB
YAML
Raw Normal View History

2024-07-18 04:46:22 +00:00
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
name: traefik
namespace: kube-system
spec:
valuesContent: |-
deployment:
replicas: 2
2024-07-18 04:46:22 +00:00
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
2024-08-05 21:20:10 +00:00
- 10.5.1.1/32
2024-07-18 04:46:22 +00:00
- 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
2024-08-12 22:35:11 +00:00
providers:
kubernetesCRD:
allowCrossNamespace: true
2024-08-21 23:16:19 +00:00
logs:
access:
enabled: false