Add /etc/os-release for tracer sysevents (#1542)

Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
This commit is contained in:
Ilya Gavrilov 2024-05-17 13:46:37 +02:00 committed by GitHub
parent 3798bf7a01
commit 359623c538
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 0 deletions

View File

@ -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:

View File

@ -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