40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
# ------------------------------------------------------------------------------
|
|
# 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
|