56 lines
1.5 KiB
YAML
56 lines
1.5 KiB
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: traefik
|
|
namespace: argocd
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
source:
|
|
chart: traefik
|
|
repoURL: https://helm.traefik.io/traefik
|
|
targetRevision: 19.0.3
|
|
helm:
|
|
values: |
|
|
ingressClass:
|
|
enabled: true
|
|
isDefaultClass: true
|
|
service:
|
|
annotations:
|
|
load-balancer.hetzner.cloud/network-zone: eu-central
|
|
load-balancer.hetzner.cloud/location: nbg1
|
|
load-balancer.hetzner.cloud/uses-proxyprotocol: "true"
|
|
load-balancer.hetzner.cloud/name: Traefik Ingress
|
|
spec:
|
|
externalTrafficPolicy: Local
|
|
ingressRoute:
|
|
dashboard:
|
|
enabled: false
|
|
ports:
|
|
dnstcp:
|
|
port: 1053
|
|
exposedPort: 53
|
|
protocol: TCP
|
|
expose: true
|
|
dnsudp:
|
|
port: 1053
|
|
exposedPort: 53
|
|
protocol: UDP
|
|
expose: true
|
|
additionalArguments:
|
|
- "--entrypoints.web.proxyProtocol.trustedIPs=192.168.0.9"
|
|
- "--entrypoints.websecure.proxyProtocol.trustedIPs=192.168.0.9"
|
|
- "--entrypoints.dnstcp.proxyProtocol.trustedIPs=192.168.0.9"
|
|
providers:
|
|
kubernetesIngress:
|
|
publishedService:
|
|
enabled: true
|
|
destination:
|
|
namespace: traefik
|
|
server: https://kubernetes.default.svc
|
|
project: system
|
|
syncPolicy:
|
|
syncOptions:
|
|
- ServerSideApply=true
|
|
- CreateNamespace=true
|