diff --git a/charts/shield/Chart.yaml b/charts/shield/Chart.yaml index 965ac3262..cbc42410e 100644 --- a/charts/shield/Chart.yaml +++ b/charts/shield/Chart.yaml @@ -13,5 +13,5 @@ maintainers: - name: mavimo email: marcovito.moscaritolo@sysdig.com type: application -version: 1.25.0 +version: 1.25.1 appVersion: "1.0.0" diff --git a/charts/shield/templates/host/daemonset-windows.yaml b/charts/shield/templates/host/daemonset-windows.yaml index 120729d10..e3e353a69 100644 --- a/charts/shield/templates/host/daemonset-windows.yaml +++ b/charts/shield/templates/host/daemonset-windows.yaml @@ -61,6 +61,10 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName + - name: KUBE_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name {{ if .Values.features.posture.host_posture.enabled }} - name: POD_NAMESPACE valueFrom: diff --git a/charts/shield/templates/host/daemonset.yaml b/charts/shield/templates/host/daemonset.yaml index 2c5fe507a..abb221c92 100644 --- a/charts/shield/templates/host/daemonset.yaml +++ b/charts/shield/templates/host/daemonset.yaml @@ -121,6 +121,10 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName + - name: KUBE_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name {{- if and (include "host.driver.is_ebpf" .) (not (include "host.driver.is_universal_ebpf" .)) }} - name: SYSDIG_BPF_PROBE value: