mirror of
https://code.forgejo.org/infrastructure/documentation
synced 2024-11-22 11:21:10 +00:00
Earl Warren
0ee041fb98
It is more uniform. It also allows to set externalTrafficPolicy: Local with the benefit of logging the ip of the incoming connection.
28 lines
554 B
YAML
28 lines
554 B
YAML
apiVersion: helm.cattle.io/v1
|
|
kind: HelmChartConfig
|
|
metadata:
|
|
name: traefik
|
|
namespace: kube-system
|
|
spec:
|
|
valuesContent: |-
|
|
deployment:
|
|
replicas: 2
|
|
ports:
|
|
web:
|
|
port: 80
|
|
redirectTo:
|
|
port: websecure
|
|
priority: 1
|
|
ssh-next:
|
|
port: 2020
|
|
exposedPort: 2020
|
|
expose: true
|
|
service:
|
|
annotations:
|
|
metallb.universe.tf/loadBalancerIPs: $failover_ipv4,$failover_ipv6
|
|
spec:
|
|
externalTrafficPolicy: Local
|
|
logs:
|
|
access:
|
|
enabled: true
|