theshire/kubernetes/apps/observability/smartctl-exporter/app/helmrelease.yaml

44 lines
1 KiB
YAML
Raw Permalink Normal View History

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/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
version: 0.10.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:
enabled: false
tolerations:
2024-02-29 11:38:41 -06:00
- key: node-role.kubernetes.io/control-plane
effect: NoSchedule
operator: Exists
2024-02-29 11:38:41 -06:00
nodeSelector:
# only control plane nodes
2024-02-29 11:38:41 -06:00
node-role.kubernetes.io/control-plane: ""