REFACTOR(goldilocks): use managedNamespaceMetad...
- Remove namespace.yaml files - Add managedNamespaceMetadata with Goldilocks label - Set CreateNamespace=true in syncOptions - Update kustomization.yaml to remove namespace.yaml references
This commit is contained in:
@@ -4,47 +4,41 @@ metadata:
|
||||
name: prometheus
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
- 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
|
||||
|
||||
- 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://gitea0213.kro.kr/bluemayne/monitoring.git
|
||||
targetRevision: main
|
||||
ref: values
|
||||
- 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
|
||||
|
||||
- CreateNamespace=true
|
||||
- PrunePropagationPolicy=foreground
|
||||
- PruneLast=true
|
||||
retry:
|
||||
limit: 5
|
||||
backoff:
|
||||
duration: 5s
|
||||
factor: 2
|
||||
maxDuration: 3m
|
||||
|
||||
managedNamespaceMetadata:
|
||||
labels:
|
||||
goldilocks.fairwinds.com/enabled: 'true'
|
||||
revisionHistoryLimit: 10
|
||||
|
||||
Reference in New Issue
Block a user