2024-10-27 19:10:17 -05:00
|
|
|
---
|
|
|
|
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json
|
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: &app smartctl-exporter
|
|
|
|
spec:
|
|
|
|
interval: 30m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: prometheus-smartctl-exporter
|
2024-10-27 19:24:09 -05:00
|
|
|
version: 0.10.0
|
2024-10-27 19:10:17 -05:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: prometheus-community
|
|
|
|
namespace: flux-system
|
|
|
|
install:
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
upgrade:
|
|
|
|
cleanupOnFail: true
|
|
|
|
remediation:
|
|
|
|
strategy: rollback
|
|
|
|
retries: 3
|
|
|
|
values:
|
|
|
|
fullnameOverride: *app
|
2024-10-27 22:40:00 -05:00
|
|
|
# incompatible drives cause false positives for smart failures.
|
|
|
|
nodeSelector:
|
|
|
|
kubernetes.io/hostname: gandalf-01
|
|
|
|
operator: NotIn
|
|
|
|
values:
|
|
|
|
- gandalf-01
|
|
|
|
- shadowfax-01
|
2024-10-27 19:10:17 -05:00
|
|
|
serviceMonitor:
|
|
|
|
enabled: true
|
|
|
|
prometheusRules:
|
|
|
|
enabled: false
|