Files
gitops/infrastructure/traefik-edge-config-app.yaml

31 lines
759 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: traefik-edge-config
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "-2" # Vor Traefik, damit ConfigMaps existieren
spec:
project: default
source:
repoURL: https://git.cloud-infra.prod.openmailserver.de/stabify/gitops.git
targetRevision: HEAD
path: infrastructure/traefik-edge
directory:
recurse: false
include: |
configmap-*.yaml
pvc-*.yaml
exclude: |
external-secret*.yaml
destination:
server: https://kubernetes.default.svc
namespace: traefik-system
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true