2024-02-29 11:23:50 -06:00
|
|
|
---
|
|
|
|
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json
|
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: &app smartctl-exporter
|
|
|
|
spec:
|
|
|
|
interval: 30m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: prometheus-smartctl-exporter
|
|
|
|
version: 0.7.1
|
|
|
|
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: ""
|