Files
observability/prometheus/argocd.yaml
Mayne0213 2c841c2b6e FEAT(vault): add ignoreDiff for ES/SM
- Add ignoreDifferences for ExternalSecret
- Prevent ArgoCD sync drift
2026-01-05 00:40:01 +09:00

58 lines
1.5 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prometheus
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
sources:
- repoURL: https://prometheus-community.github.io/helm-charts
chart: kube-prometheus-stack
targetRevision: 80.0.0
helm:
valueFiles:
- $values/prometheus/helm-values.yaml
- repoURL: https://github.com/Mayne0213/monitoring.git
targetRevision: main
ref: values
- repoURL: https://github.com/Mayne0213/monitoring.git
targetRevision: main
path: prometheus
destination:
server: https://kubernetes.default.svc
namespace: prometheus
ignoreDifferences:
- group: external-secrets.io
kind: ExternalSecret
jsonPointers:
- /spec/data/0/remoteRef/conversionStrategy
- /spec/data/0/remoteRef/decodingStrategy
- /spec/data/0/remoteRef/metadataPolicy
- /spec/target/deletionPolicy
- group: monitoring.coreos.com
kind: ServiceMonitor
jqPathExpressions:
- .spec.endpoints[].metricRelabelings
syncPolicy:
automated:
prune: true
selfHeal: true
allowEmpty: false
syncOptions:
- CreateNamespace=true
- PrunePropagationPolicy=foreground
- PruneLast=true
- ServerSideApply=true
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 3m
managedNamespaceMetadata:
labels:
goldilocks.fairwinds.com/enabled: 'true'
revisionHistoryLimit: 10