Files
k8s-gitops/apps/monitoring.yaml
T

43 lines
980 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: monitoring
namespace: argocd
spec:
project: default
source:
repoURL: https://prometheus-community.github.io/helm-charts
chart: kube-prometheus-stack
targetRevision: 77.*
helm:
skipCrds: true
values: |
grafana:
ingress:
enabled: true
ingressClassName: nginx
hosts:
- grafana.home.lan
prometheus:
prometheusSpec:
externalUrl: http://prometheus.home.lan
routePrefix: /
ingress:
enabled: true
ingressClassName: nginx
hosts:
- prometheus.home.lan
paths:
- /
pathType: Prefix
destination:
server: https://kubernetes.default.svc
namespace: monitoring
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true