- clusters/homek8s/monitoring.yaml: the 'monitoring' Flux Kustomization was declared only under clusters/home, which the bootstrapped flux-system Kustomization never reads (its path is ./clusters/homek8s), so it had never been created. Declare it in the tree that actually reconciles. - monitoring/controllers/home: HelmRepository + HelmRelease (chart pinned 92.14.0), values.yaml via configMapGenerator, Grafana admin from the monitoring/grafana-admin Secret (out of band, never in git). - Everything pinned to siriussec, Prometheus on a 10Gi local-path PVC with 7d AND 8GB retention caps; alertmanager off; no remote write. - internal gateway listener now accepts routes from any namespace; the security boundary is the host firewall, not the namespace. - host-firewall/: nft table + oneshot unit for siriussec and the ufw script for rpi that close :8081 to everything but 10.10.0.0/24 and 10.244.0.0/16.
34 lines
875 B
YAML
34 lines
875 B
YAML
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: kube-prometheus-stack
|
|
namespace: monitoring
|
|
spec:
|
|
releaseName: kube-prometheus-stack
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: kube-prometheus-stack
|
|
# Pinned — never a floating range. Bump deliberately.
|
|
version: "92.14.0"
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: prometheus-community
|
|
namespace: monitoring
|
|
install:
|
|
crds: Create
|
|
timeout: 15m
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
crds: CreateReplace
|
|
timeout: 15m
|
|
cleanupOnFail: true
|
|
remediation:
|
|
retries: 3
|
|
remediateLastFailure: true
|
|
# Values live in monitoring/controllers/home/values.yaml, rendered to a
|
|
# Flux ConfigMap (kube-prometheus-stack-values-<hash>) by kustomize.
|
|
valuesFrom:
|
|
- kind: ConfigMap
|
|
name: kube-prometheus-stack-values
|