From 359623c538fbbdfa30639dcad1bbf0ddf4a97fae Mon Sep 17 00:00:00 2001 From: Ilya Gavrilov Date: Fri, 17 May 2024 13:46:37 +0200 Subject: [PATCH] Add /etc/os-release for tracer sysevents (#1542) Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com> --- helm-chart/templates/09-worker-daemon-set.yaml | 6 ++++++ manifests/complete.yaml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/helm-chart/templates/09-worker-daemon-set.yaml b/helm-chart/templates/09-worker-daemon-set.yaml index 7e43449cd..cb9e09598 100644 --- a/helm-chart/templates/09-worker-daemon-set.yaml +++ b/helm-chart/templates/09-worker-daemon-set.yaml @@ -197,6 +197,9 @@ spec: readOnly: true - mountPath: /app/data name: data + - mountPath: /etc/os-release + name: os-release + readOnly: true {{- end }} dnsPolicy: ClusterFirstWithHostNet hostNetwork: true @@ -226,6 +229,9 @@ spec: - name: lib-modules hostPath: path: /lib/modules + - hostPath: + path: /etc/os-release + name: os-release - name: data {{- if .Values.tap.persistentStorage }} persistentVolumeClaim: diff --git a/manifests/complete.yaml b/manifests/complete.yaml index 0c52301a9..55e385bff 100644 --- a/manifests/complete.yaml +++ b/manifests/complete.yaml @@ -569,6 +569,9 @@ spec: readOnly: true - mountPath: /app/data name: data + - mountPath: /etc/os-release + name: os-release + readOnly: true dnsPolicy: ClusterFirstWithHostNet hostNetwork: true serviceAccountName: kubeshark-service-account @@ -600,6 +603,9 @@ spec: - name: data emptyDir: sizeLimit: 500Mi + - hostPath: + path: /etc/os-release + name: os-release --- # Source: kubeshark/templates/04-hub-deployment.yaml apiVersion: apps/v1