57 lines
1.4 KiB
YAML
57 lines
1.4 KiB
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:
|
|
valueObject:
|
|
ingressRoute:
|
|
dashboard:
|
|
enabled: true
|
|
matchRule: PathPrefix(`/dashboard`) || PathPrefix(`/api`)
|
|
entryPoints: ["websecure"]
|
|
healthcheck:
|
|
enabled: false
|
|
matchRule: PathPrefix(`/ping`)
|
|
entryPoints: ["traefik"]
|
|
metrics:
|
|
prometheus:
|
|
entryPoint: metrics
|
|
ports:
|
|
web:
|
|
port: 8000
|
|
expose: true
|
|
exposedPort: 80
|
|
protocol: TCP
|
|
websecure:
|
|
# asDefault: true
|
|
port: 8443
|
|
expose: true
|
|
exposedPort: 443
|
|
protocol: TCP
|
|
tls:
|
|
enabled: true
|
|
service:
|
|
enabled: true
|
|
single: true
|
|
type: LoadBalancer
|
|
annotations:
|
|
io.cilium/lb-ipam-ips: "192.168.0.1"
|
|
spec:
|
|
externalTrafficPolicy: Local
|