From 808f614e201c07f7c820600a1c17a1bcec203c73 Mon Sep 17 00:00:00 2001 From: Thomas Way Date: Sat, 20 Jan 2024 23:31:50 +0000 Subject: [PATCH] feat(k8s/amour/scrutiny/collector): set host id --- k8s/amour/scrutiny/collector/daemon_set_list.cue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/k8s/amour/scrutiny/collector/daemon_set_list.cue b/k8s/amour/scrutiny/collector/daemon_set_list.cue index 2ededaa34..342badf9f 100644 --- a/k8s/amour/scrutiny/collector/daemon_set_list.cue +++ b/k8s/amour/scrutiny/collector/daemon_set_list.cue @@ -30,6 +30,9 @@ import ( env: [{ name: "COLLECTOR_API_ENDPOINT" value: "http://scrutiny-web" + }, { + name: "COLLECTOR_HOST_ID" + valueFrom: fieldRef: fieldPath: "spec.nodeName" }, { name: "COLLECTOR_RUN_STARTUP" value: "true"