Run cleanup program instead of kubectl (#1745)

This commit is contained in:
Volodymyr Stoiko
2025-04-16 19:07:31 +03:00
committed by GitHub
parent 9775a70722
commit 4ca9bc8fc0

View File

@@ -19,6 +19,4 @@ spec:
{{ else }}
image: '{{ .Values.tap.docker.registry }}/hub:{{ not (eq .Values.tap.docker.tag "") | ternary .Values.tap.docker.tag (include "kubeshark.defaultVersion" .) }}'
{{- end }}
command: ["/bin/sh", "-c"]
args:
- "kubectl delete cm kubeshark-config-map || true && kubectl delete secret kubeshark-secret || true"
command: ["/app/cleanup"]