apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: alertmanager namespace: argocd finalizers: - resources-finalizer.argocd.argoproj.io spec: project: default sources: # Helm chart from external repository - repoURL: https://prometheus-community.github.io/helm-charts chart: alertmanager targetRevision: 1.29.0 helm: valueFiles: - $values/alertmanager/helm-values/alertmanager.yaml # Values file from Git repository - repoURL: https://gitea0213.kro.kr/bluemayne/infrastructure.git targetRevision: main ref: values destination: server: https://kubernetes.default.svc namespace: monitoring syncPolicy: automated: prune: true selfHeal: true allowEmpty: false syncOptions: - CreateNamespace=true - PrunePropagationPolicy=foreground - PruneLast=true retry: limit: 5 backoff: duration: 5s factor: 2 maxDuration: 3m revisionHistoryLimit: 10