mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-18 16:38:38 +00:00
Run cleanup program instead of kubectl
This commit is contained in:
parent
9775a70722
commit
3733ae132e
@ -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"]
|
Loading…
Reference in New Issue
Block a user