mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-31 10:11:59 +00:00
update cleanup
This commit is contained in:
@@ -69,9 +69,18 @@ rules:
|
||||
- secrets
|
||||
- configmaps
|
||||
verbs:
|
||||
- create
|
||||
- get
|
||||
- watch
|
||||
- list
|
||||
- update
|
||||
- patch
|
||||
- delete
|
||||
- apiGroups:
|
||||
- ""
|
||||
- v1
|
||||
resources:
|
||||
- secrets
|
||||
- configmaps
|
||||
verbs:
|
||||
- create
|
||||
|
@@ -21,4 +21,4 @@ spec:
|
||||
{{- end }}
|
||||
command: ["/bin/sh", "-c"]
|
||||
args:
|
||||
- "kubectl delete cm kubeshark-config-map && kubectl delete secret kubeshark-secret"
|
||||
- "kubectl delete cm kubeshark-config-map || true && kubectl delete secret kubeshark-secret || true"
|
Reference in New Issue
Block a user