Skip to content

Commit

Permalink
test: use reclaimPolicy Delete instead
Browse files Browse the repository at this point in the history
Retain will make the condition check in pod_test.go failed.

Signed-off-by: Derek Su <[email protected]>
  • Loading branch information
derekbit committed May 28, 2024
1 parent a08a100 commit e7dd2fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testdata/custom-path-pattern/storage-class.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ parameters:
nodePath: /opt/local-path-provisioner
pathPattern: "{{ .PVC.Namespace }}/{{ .PVC.Name }}"
volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: Retain
reclaimPolicy: Delete

0 comments on commit e7dd2fc

Please sign in to comment.