Skip to content

Commit 1e7900c

Browse files
committed
always say it’s ok
1 parent d3eeb0c commit 1e7900c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

charts/k8s-ds-agent/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ appVersion: 1.1.1
33
description: ControlTheory DaemonSet Kubernetes Agent
44
name: k8s-agent
55
type: application
6-
version: 0.43.0
6+
version: 0.43.1

charts/k8s-ds-agent/templates/cleanup.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ spec:
2828
args:
2929
- >
3030
echo "Cleaning up hostPath {{ .Values.storageHostPath.path }}/{{ .Release.Name }}";
31-
rm -rf {{ .Values.storageHostPath.path }}/{{ .Release.Name }};
32-
echo "Cleanup complete";
31+
rm -f {{ .Values.storageHostPath.path }}/{{ .Release.Name }}/*;
32+
echo "Cleanup attempted";
33+
exit 0;
3334
volumeMounts:
3435
- name: host-volume
3536
mountPath: {{ .Values.storageHostPath.path }}/{{ .Release.Name }}

0 commit comments

Comments
 (0)