mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-24 03:22:38 +00:00
Run cleanup program instead of kubectl
This commit is contained in:
parent
9775a70722
commit
3733ae132e
@ -19,6 +19,4 @@ spec:
|
|||||||
{{ else }}
|
{{ else }}
|
||||||
image: '{{ .Values.tap.docker.registry }}/hub:{{ not (eq .Values.tap.docker.tag "") | ternary .Values.tap.docker.tag (include "kubeshark.defaultVersion" .) }}'
|
image: '{{ .Values.tap.docker.registry }}/hub:{{ not (eq .Values.tap.docker.tag "") | ternary .Values.tap.docker.tag (include "kubeshark.defaultVersion" .) }}'
|
||||||
{{- end }}
|
{{- end }}
|
||||||
command: ["/bin/sh", "-c"]
|
command: ["/app/cleanup"]
|
||||||
args:
|
|
||||||
- "kubectl delete cm kubeshark-config-map || true && kubectl delete secret kubeshark-secret || true"
|
|
Loading…
Reference in New Issue
Block a user