diff --git a/helm-chart/templates/18-cleanup-job.yaml b/helm-chart/templates/18-cleanup-job.yaml index 3dee7cd0f..443c824ef 100644 --- a/helm-chart/templates/18-cleanup-job.yaml +++ b/helm-chart/templates/18-cleanup-job.yaml @@ -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" \ No newline at end of file + command: ["/app/cleanup"] \ No newline at end of file