We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3eeb0c commit 1e7900cCopy full SHA for 1e7900c
charts/k8s-ds-agent/Chart.yaml
@@ -3,4 +3,4 @@ appVersion: 1.1.1
3
description: ControlTheory DaemonSet Kubernetes Agent
4
name: k8s-agent
5
type: application
6
-version: 0.43.0
+version: 0.43.1
charts/k8s-ds-agent/templates/cleanup.yaml
@@ -28,8 +28,9 @@ spec:
28
args:
29
- >
30
echo "Cleaning up hostPath {{ .Values.storageHostPath.path }}/{{ .Release.Name }}";
31
- rm -rf {{ .Values.storageHostPath.path }}/{{ .Release.Name }};
32
- echo "Cleanup complete";
+ rm -f {{ .Values.storageHostPath.path }}/{{ .Release.Name }}/*;
+ echo "Cleanup attempted";
33
+ exit 0;
34
volumeMounts:
35
- name: host-volume
36
mountPath: {{ .Values.storageHostPath.path }}/{{ .Release.Name }}
0 commit comments