Files
observability/prometheus/argocd.yaml
Mayne0213 a2e0ef4477 REFACTOR(prometheus): remove path sources
- from grafana and prometheus...
- Remove 'path: grafana' source from grafana Application
- Remove 'path: prometheus' source from prometheus Application
- ExternalSecret and Ingress will be managed manually via kubectl apply
  -k
- Fixes circular dependency issue causing Progressing state
2026-01-04 23:38:05 +09:00

51 lines
1.2 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prometheus
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: kube-prometheus-stack
targetRevision: 80.0.0
helm:
valueFiles:
- $values/prometheus/helm-values.yaml
# Values file from Git repository
- repoURL: https://gitea0213.kro.kr/bluemayne/monitoring.git
targetRevision: main
ref: values
# Additional resources (ExternalSecret, etc.)
- repoURL: https://gitea0213.kro.kr/bluemayne/monitoring.git
targetRevision: main
path: prometheus
destination:
server: https://kubernetes.default.svc
namespace: prometheus
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