From 7b1f9b706c610e1c22ee88ff0386b9fa214fd79b Mon Sep 17 00:00:00 2001 From: Derek Su <derek.su@suse.com> Date: Mon, 27 May 2024 08:55:55 +0800 Subject: [PATCH] test: use reclaimPolicy Delete instead Retain will make the condition check in pod_test.go failed. Signed-off-by: Derek Su <derek.su@suse.com> --- test/testdata/custom-path-pattern/storage-class.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testdata/custom-path-pattern/storage-class.yaml b/test/testdata/custom-path-pattern/storage-class.yaml index 7656afc3..50f642f8 100644 --- a/test/testdata/custom-path-pattern/storage-class.yaml +++ b/test/testdata/custom-path-pattern/storage-class.yaml @@ -7,4 +7,4 @@ parameters: nodePath: /opt/local-path-provisioner pathPattern: "{{ .PVC.Namespace }}/{{ .PVC.Name }}" volumeBindingMode: WaitForFirstConsumer -reclaimPolicy: Retain \ No newline at end of file +reclaimPolicy: Delete \ No newline at end of file -- GitLab