Change to applicationset for scraping
This commit is contained in:
parent
cb30b27b3e
commit
86bba8d3ec
@ -1,18 +1,28 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: ApplicationSet
|
||||||
metadata:
|
metadata:
|
||||||
name: prometheus-scrape-secret
|
name: prometheus-scrape-secret
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
spec:
|
spec:
|
||||||
project: observability
|
generators:
|
||||||
source:
|
- list:
|
||||||
repoURL: https://git.dvirlabs.com/dvirlabs/observability-stack.git
|
elements:
|
||||||
targetRevision: master
|
- name: prometheus-scrape-secret
|
||||||
path: manifests/prometheus-scrape-secret
|
template:
|
||||||
destination:
|
metadata:
|
||||||
server: https://kubernetes.default.svc
|
name: '{{name}}'
|
||||||
namespace: monitoring
|
spec:
|
||||||
syncPolicy:
|
project: observability
|
||||||
automated:
|
source:
|
||||||
prune: true
|
repoURL: https://git.dvirlabs.com/dvirlabs/observability-stack.git
|
||||||
selfHeal: true
|
targetRevision: HEAD
|
||||||
|
path: manifests/prometheus-scrape-secret
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: monitoring
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user