mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-29 22:03:39 +00:00
This reverts commit 29de008f22
.
This commit is contained in:
parent
7eef5efcd9
commit
12f8883052
@ -25,39 +25,6 @@ spec:
|
|||||||
name: kubeshark-worker-daemon-set
|
name: kubeshark-worker-daemon-set
|
||||||
namespace: kubeshark
|
namespace: kubeshark
|
||||||
spec:
|
spec:
|
||||||
initContainers:
|
|
||||||
- command:
|
|
||||||
- /bin/sh
|
|
||||||
- -c
|
|
||||||
- mkdir -p /sys/fs/bpf && mount | grep -q '/sys/fs/bpf' || mount -t bpf bpf /sys/fs/bpf
|
|
||||||
{{- if .Values.tap.docker.overrideTag.worker }}
|
|
||||||
image: '{{ .Values.tap.docker.registry }}/worker:{{ .Values.tap.docker.overrideTag.worker }}{{ include "kubeshark.dockerTagDebugVersion" . }}'
|
|
||||||
{{ else }}
|
|
||||||
image: '{{ .Values.tap.docker.registry }}/worker:{{ not (eq .Values.tap.docker.tag "") | ternary .Values.tap.docker.tag (include "kubeshark.defaultVersion" .) }}{{ include "kubeshark.dockerTagDebugVersion" . }}'
|
|
||||||
{{- end }}
|
|
||||||
imagePullPolicy: {{ .Values.tap.docker.imagePullPolicy }}
|
|
||||||
name: check-bpf
|
|
||||||
securityContext:
|
|
||||||
privileged: true
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /sys
|
|
||||||
name: sys
|
|
||||||
mountPropagation: Bidirectional
|
|
||||||
- command:
|
|
||||||
- ./tracer
|
|
||||||
- -init-bpf
|
|
||||||
{{- if .Values.tap.docker.overrideTag.worker }}
|
|
||||||
image: '{{ .Values.tap.docker.registry }}/worker:{{ .Values.tap.docker.overrideTag.worker }}{{ include "kubeshark.dockerTagDebugVersion" . }}'
|
|
||||||
{{ else }}
|
|
||||||
image: '{{ .Values.tap.docker.registry }}/worker:{{ not (eq .Values.tap.docker.tag "") | ternary .Values.tap.docker.tag (include "kubeshark.defaultVersion" .) }}{{ include "kubeshark.dockerTagDebugVersion" . }}'
|
|
||||||
{{- end }}
|
|
||||||
imagePullPolicy: {{ .Values.tap.docker.imagePullPolicy }}
|
|
||||||
name: init-bpf
|
|
||||||
securityContext:
|
|
||||||
privileged: true
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /sys
|
|
||||||
name: sys
|
|
||||||
containers:
|
containers:
|
||||||
- command:
|
- command:
|
||||||
- ./worker
|
- ./worker
|
||||||
|
@ -490,31 +490,6 @@ spec:
|
|||||||
name: kubeshark-worker-daemon-set
|
name: kubeshark-worker-daemon-set
|
||||||
namespace: kubeshark
|
namespace: kubeshark
|
||||||
spec:
|
spec:
|
||||||
initContainers:
|
|
||||||
- command:
|
|
||||||
- /bin/sh
|
|
||||||
- -c
|
|
||||||
- mkdir -p /sys/fs/bpf && mount | grep -q '/sys/fs/bpf' || mount -t bpf bpf /sys/fs/bpf
|
|
||||||
image: 'docker.io/kubeshark/worker:v52.3.92'
|
|
||||||
imagePullPolicy: Always
|
|
||||||
name: check-bpf
|
|
||||||
securityContext:
|
|
||||||
privileged: true
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /sys
|
|
||||||
name: sys
|
|
||||||
mountPropagation: Bidirectional
|
|
||||||
- command:
|
|
||||||
- ./tracer
|
|
||||||
- -init-bpf
|
|
||||||
image: 'docker.io/kubeshark/worker:v52.3.92'
|
|
||||||
imagePullPolicy: Always
|
|
||||||
name: init-bpf
|
|
||||||
securityContext:
|
|
||||||
privileged: true
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /sys
|
|
||||||
name: sys
|
|
||||||
containers:
|
containers:
|
||||||
- command:
|
- command:
|
||||||
- ./worker
|
- ./worker
|
||||||
@ -584,7 +559,6 @@ spec:
|
|||||||
- SYS_ADMIN
|
- SYS_ADMIN
|
||||||
- SYS_PTRACE
|
- SYS_PTRACE
|
||||||
- DAC_OVERRIDE
|
- DAC_OVERRIDE
|
||||||
- IPC_LOCK
|
|
||||||
drop:
|
drop:
|
||||||
- ALL
|
- ALL
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
|
Loading…
Reference in New Issue
Block a user