veda/applications/templates/traefik.yaml

40 lines
980 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: traefik
namespace: argocd
spec:
project: default
destination:
server: {{ .Values.spec.destination.server }}
namespace: traefik
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
source:
chart: traefik
repoURL: https://traefik.github.io/charts
targetRevision: 35.2.0
helm:
valuesObject:
ingressRoute:
dashboard:
enabled: true
matchRule: PathPrefix(`/dashboard`) || PathPrefix(`/api`)
entryPoints: ["web"]
healthcheck:
enabled: false
matchRule: PathPrefix(`/ping`)
entryPoints: ["traefik"]
service:
enabled: true
single: true
type: LoadBalancer
annotations:
io.cilium/lb-ipam-ips: "192.168.0.1"
spec:
externalTrafficPolicy: Local