Comment prom and grafana appset

This commit is contained in:
dvirlabs 2025-06-24 20:29:43 +03:00
parent f33c9895db
commit 94131bd252
3 changed files with 95 additions and 95 deletions

View File

@ -1,36 +1,36 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: grafana-appset
namespace: argocd
spec:
generators:
- list:
elements:
- env: prod
valuesFile: values-prod.yaml
nameSuffix: grafana-prod
host: grafana.dvirlabs.com
- env: int
valuesFile: values-int.yaml
nameSuffix: grafana-int
host: grafana-int.dvirlabs.com
template:
metadata:
name: '{{nameSuffix}}'
spec:
project: observability
source:
repoURL: https://git.dvirlabs.com/dvirlabs/observability-stack.git
targetRevision: master
path: charts/grafana
helm:
valueFiles:
- my-values/{{valuesFile}}
destination:
server: https://kubernetes.default.svc
namespace: monitoring
syncPolicy: {}
# apiVersion: argoproj.io/v1alpha1
# kind: ApplicationSet
# metadata:
# name: grafana-appset
# namespace: argocd
# spec:
# generators:
# - list:
# elements:
# - env: prod
# valuesFile: values-prod.yaml
# nameSuffix: grafana-prod
# host: grafana.dvirlabs.com
# - env: int
# valuesFile: values-int.yaml
# nameSuffix: grafana-int
# host: grafana-int.dvirlabs.com
# template:
# metadata:
# name: '{{nameSuffix}}'
# spec:
# project: observability
# source:
# repoURL: https://git.dvirlabs.com/dvirlabs/observability-stack.git
# targetRevision: master
# path: charts/grafana
# helm:
# valueFiles:
# - my-values/{{valuesFile}}
# destination:
# server: https://kubernetes.default.svc
# namespace: monitoring
# syncPolicy: {}
# automated:
# prune: true
# selfHeal: true

View File

@ -1,38 +1,38 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: prometheus-appset
namespace: argocd
spec:
generators:
- list:
elements:
- env: prod
valuesFile: values-prod.yaml
nameSuffix: prometheus-prod
host: prometheus.dvirlabs.com
- env: int
valuesFile: values-int.yaml
nameSuffix: prometheus-int
host: prometheus-int.dvirlabs.com
template:
metadata:
name: '{{nameSuffix}}'
spec:
project: observability
source:
repoURL: https://git.dvirlabs.com/dvirlabs/observability-stack.git
targetRevision: master
path: charts/prometheus
helm:
valueFiles:
- my-values/values-{{env}}.yaml
destination:
server: https://kubernetes.default.svc
namespace: monitoring
syncPolicy:
automated: {}
# prune: true
# selfHeal: true
# syncOptions:
# - CreateNamespace=true
# apiVersion: argoproj.io/v1alpha1
# kind: ApplicationSet
# metadata:
# name: prometheus-appset
# namespace: argocd
# spec:
# generators:
# - list:
# elements:
# - env: prod
# valuesFile: values-prod.yaml
# nameSuffix: prometheus-prod
# host: prometheus.dvirlabs.com
# - env: int
# valuesFile: values-int.yaml
# nameSuffix: prometheus-int
# host: prometheus-int.dvirlabs.com
# template:
# metadata:
# name: '{{nameSuffix}}'
# spec:
# project: observability
# source:
# repoURL: https://git.dvirlabs.com/dvirlabs/observability-stack.git
# targetRevision: master
# path: charts/prometheus
# helm:
# valueFiles:
# - my-values/values-{{env}}.yaml
# destination:
# server: https://kubernetes.default.svc
# namespace: monitoring
# syncPolicy:
# automated: {}
# # prune: true
# # selfHeal: true
# # syncOptions:
# # - CreateNamespace=true

View File

@ -1,27 +1,27 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: prometheus-scrape-config
namespace: argocd
spec:
generators:
- list:
elements:
- name: prometheus-scrape
path: manifests/prometheus
template:
metadata:
name: '{{name}}'
spec:
project: observability
source:
repoURL: https://git.dvirlabs.com/dvirlabs/observability-stack.git
targetRevision: master
path: '{{path}}'
destination:
server: https://kubernetes.default.svc
namespace: monitoring
syncPolicy: {}
# apiVersion: argoproj.io/v1alpha1
# kind: ApplicationSet
# metadata:
# name: prometheus-scrape-config
# namespace: argocd
# spec:
# generators:
# - list:
# elements:
# - name: prometheus-scrape
# path: manifests/prometheus
# template:
# metadata:
# name: '{{name}}'
# spec:
# project: observability
# source:
# repoURL: https://git.dvirlabs.com/dvirlabs/observability-stack.git
# targetRevision: master
# path: '{{path}}'
# destination:
# server: https://kubernetes.default.svc
# namespace: monitoring
# syncPolicy: {}
# automated:
# prune: true
# selfHeal: true