2024-02-29 11:23:50 -06:00
|
|
|
---
|
|
|
|
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json
|
2024-05-20 08:01:57 -05:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
2024-02-29 11:23:50 -06:00
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: &app smartctl-exporter
|
|
|
|
spec:
|
|
|
|
interval: 30m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: prometheus-smartctl-exporter
|
2024-04-08 20:02:15 -05:00
|
|
|
version: 0.8.0
|
2024-02-29 11:23:50 -06:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: prometheus-community
|
|
|
|
namespace: flux-system
|
|
|
|
install:
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
upgrade:
|
|
|
|
cleanupOnFail: true
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
uninstall:
|
|
|
|
keepHistory: false
|
|
|
|
dependsOn:
|
|
|
|
- name: kube-prometheus-stack
|
|
|
|
namespace: observability
|
|
|
|
values:
|
|
|
|
fullnameOverride: *app
|
|
|
|
config:
|
|
|
|
devices:
|
|
|
|
- /dev/sda
|
|
|
|
serviceMonitor:
|
|
|
|
enabled: true
|
|
|
|
prometheusRules:
|
2024-02-29 11:34:53 -06:00
|
|
|
enabled: false
|
|
|
|
tolerations:
|
2024-02-29 11:38:41 -06:00
|
|
|
- key: node-role.kubernetes.io/control-plane
|
|
|
|
effect: NoSchedule
|
2024-02-29 11:34:53 -06:00
|
|
|
operator: Exists
|
2024-02-29 11:38:41 -06:00
|
|
|
nodeSelector:
|
2024-02-29 11:34:53 -06:00
|
|
|
# only control plane nodes
|
2024-02-29 11:38:41 -06:00
|
|
|
node-role.kubernetes.io/control-plane: ""
|