32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
# Bootstrap app-of-apps leaf: kube-prometheus-stack.
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: noble-kube-prometheus
|
|
namespace: argocd
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io/background
|
|
spec:
|
|
project: default
|
|
sources:
|
|
- repoURL: https://prometheus-community.github.io/helm-charts
|
|
chart: kube-prometheus-stack
|
|
targetRevision: 82.15.1
|
|
helm:
|
|
releaseName: kube-prometheus
|
|
valueFiles:
|
|
- $values/clusters/noble/bootstrap/kube-prometheus-stack/values.yaml
|
|
- repoURL: https://gitea.pcenicni.ca/gsdavidp/home-server.git
|
|
targetRevision: HEAD
|
|
ref: values
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: monitoring
|
|
# Manual sync: Ansible helm runs first; enable automation after cutover (see ../README.md §5).
|
|
# ServerSideApply: kube-prometheus-stack CRDs exceed the 256KiB **last-applied-configuration** limit
|
|
# when applied client-side (Argo/kubectl); SSA avoids that annotation.
|
|
syncPolicy:
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- ServerSideApply=true
|