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 readOnly: true
- mountPath: /app/data - mountPath: /app/data
name: data name: data
- mountPath: /etc/os-release
name: os-release
readOnly: true
{{- end }} {{- end }}
dnsPolicy: ClusterFirstWithHostNet dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true hostNetwork: true
@ -226,6 +229,9 @@ spec:
- name: lib-modules - name: lib-modules
hostPath: hostPath:
path: /lib/modules path: /lib/modules
- hostPath:
path: /etc/os-release
name: os-release
- name: data - name: data
{{- if .Values.tap.persistentStorage }} {{- if .Values.tap.persistentStorage }}
persistentVolumeClaim: persistentVolumeClaim:

View File

@ -569,6 +569,9 @@ spec:
readOnly: true readOnly: true
- mountPath: /app/data - mountPath: /app/data
name: data name: data
- mountPath: /etc/os-release
name: os-release
readOnly: true
dnsPolicy: ClusterFirstWithHostNet dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true hostNetwork: true
serviceAccountName: kubeshark-service-account serviceAccountName: kubeshark-service-account
@ -600,6 +603,9 @@ spec:
- name: data - name: data
emptyDir: emptyDir:
sizeLimit: 500Mi sizeLimit: 500Mi
- hostPath:
path: /etc/os-release
name: os-release
--- ---
# Source: kubeshark/templates/04-hub-deployment.yaml # Source: kubeshark/templates/04-hub-deployment.yaml
apiVersion: apps/v1 apiVersion: apps/v1