Deploy monitoring stack

This commit is contained in:
2026-05-18 21:42:32 -05:00
parent dbf0b18f07
commit 2ed70b4964
8 changed files with 386 additions and 25 deletions

View File

@@ -0,0 +1,39 @@
# ------------------------------------------------------------------------------
# Application: monitoring (kube-prometheus-stack)
# Wave 10 — first application workload, after all platform services
# Multi-source: Helm chart from upstream + values + HTTPRoute from repo
# ------------------------------------------------------------------------------
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: monitoring
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "10"
spec:
project: default
sources:
# Source 1: Helm chart from upstream
- repoURL: https://prometheus-community.github.io/helm-charts
chart: kube-prometheus-stack
targetRevision: 70.4.2
helm:
valueFiles:
- $values/cluster/applications/monitoring/values.yaml
# Source 2: Repo — values ref + HTTPRoute
- repoURL: https://gitea.mk-labs.cloud/rblundon/homelab.git
targetRevision: main
path: cluster/applications/monitoring
ref: values
directory:
exclude: "application.yaml"
destination:
server: https://kubernetes.default.svc
namespace: monitoring
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true