diff --git a/kubernetes/apps/observability/smartctl-exporter/app/helmrelease.yaml b/kubernetes/apps/observability/smartctl-exporter/app/helmrelease.yaml index 94296404..2ec3b42c 100644 --- a/kubernetes/apps/observability/smartctl-exporter/app/helmrelease.yaml +++ b/kubernetes/apps/observability/smartctl-exporter/app/helmrelease.yaml @@ -26,11 +26,12 @@ spec: fullnameOverride: *app # incompatible drives cause false positives for smart failures. nodeSelector: - kubernetes.io/hostname: gandalf-01 - operator: NotIn - values: - - gandalf-01 - - shadowfax-01 + matchExpressions: + - key: kubernetes.io/hostname + operator: NotIn + values: + - gandalf-01 + - shadowfax-01 serviceMonitor: enabled: true prometheusRules: