add traefik

This commit is contained in:
2025-06-29 20:16:13 -05:00
parent 0eb1a76f9f
commit 58c3dca868

36
apps/traefik.yaml Normal file
View File

@ -0,0 +1,36 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: traefik
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- list:
elements:
- cluster: production
url: https://kubernetes.default.svc
chart: 36.2.0
- cluster: staging
url: https://k3s-ctrl-lb.lab.kill0.net:6443
chart: 36.2.0
- cluster: development
url: https://k0s-ctrl-vip.lab.kill0.net:6443
chart: 36.2.0
template:
metadata:
name: 'traefik-{{.cluster}}'
spec:
project: default
source:
chart: traefik
repoURL: https://traefik.github.io/charts
targetRevision: '{{.chart}}'
helm:
releaseName: traefik
destination:
server: '{{.url}}'
syncPolicy:
automated:
prune: true
selfHeal: true