Skip to content

Commit

Permalink
chore(shield): remove /root/.sysdig on gke autopilot and restore lega…
Browse files Browse the repository at this point in the history
…cy_ebpf check for autopilot
  • Loading branch information
francesco-furlan committed Jan 20, 2025
1 parent 92f8338 commit 8679416
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions charts/shield/templates/host/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ spec:
- mountPath: /host/etc/os-release
name: osrel
readOnly: true
- mountPath: /root/.sysdig
name: bpf-probes
{{- end }}
{{- end }}
containers:
Expand All @@ -126,7 +124,7 @@ spec:
{{- if (include "host.driver.is_universal_ebpf" .) }}
- name: SYSDIG_AGENT_DRIVER
value: universal_ebpf
{{- else if (include "host.driver.is_legacy_ebpf" .) }}
{{- else if and (include "host.driver.is_legacy_ebpf" .) (not (include "common.cluster_type.is_gke_autopilot" .)) }}
- name: SYSDIG_AGENT_DRIVER
value: legacy_ebpf
{{- end }}
Expand Down Expand Up @@ -210,8 +208,6 @@ spec:
readOnly: true
- mountPath: /host/var/run/containerd/containerd.sock
name: containerdsock-vol
- mountPath: /root/.sysdig
name: bpf-probes
{{- end }}

{{- if (include "host.need_host_root" .) }}
Expand Down Expand Up @@ -309,8 +305,6 @@ spec:
- name: osrel
hostPath:
path: /etc/os-release
- name: bpf-probes
emptyDir: {}
- name: containerdsock-vol
hostPath:
path: /var/run/containerd/containerd.sock
Expand Down

0 comments on commit 8679416

Please sign in to comment.