From 40dfda6c073c974358ba371af131dfee5ef62c21 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Thu, 18 Jul 2024 01:15:42 +0100 Subject: [PATCH] Update node_exporter daemonset to 1.27+ featureset --- .../namespaces/monitoring/node_exporter/daemonset.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kubernetes/namespaces/monitoring/node_exporter/daemonset.yaml b/kubernetes/namespaces/monitoring/node_exporter/daemonset.yaml index 9d5886e0..41726a3e 100644 --- a/kubernetes/namespaces/monitoring/node_exporter/daemonset.yaml +++ b/kubernetes/namespaces/monitoring/node_exporter/daemonset.yaml @@ -17,8 +17,6 @@ spec: labels: name: node-exporter phase: prod - annotations: - seccomp.security.alpha.kubernetes.io/pod: 'docker/default' spec: affinity: nodeAffinity: @@ -30,13 +28,15 @@ spec: values: - linux - matchExpressions: - - key: beta.kubernetes.io/os + - key: kubernetes.io/os operator: In values: - linux securityContext: runAsNonRoot: true runAsUser: 65534 + seccompProfile: + type: RuntimeDefault hostPID: true containers: - name: node-exporter