Skip to content

Commit

Permalink
Add /etc/os-release for tracer sysevents (#1542)
Browse files Browse the repository at this point in the history
Co-authored-by: Alon Girmonsky <[email protected]>
  • Loading branch information
iluxa and alongir committed May 17, 2024
1 parent 3798bf7 commit 359623c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions helm-chart/templates/09-worker-daemon-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions manifests/complete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 359623c

Please sign in to comment.