We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cda1f9 commit 3fe1035Copy full SHA for 3fe1035
1 file changed
pkg/ddc/base/runtime.go
@@ -335,6 +335,9 @@ func (info *RuntimeInfo) GetFuseNodeSelector() (nodeSelector map[string]string)
335
return
336
}
337
338
+// SetupFuseCleanPolicy sets the clean policy for the fuse runtime.
339
+// If the provided policy is NoneCleanPolicy, it defaults to OnRuntimeDeletedCleanPolicy.
340
+// Otherwise, it assigns the given policy directly to the fuse runtime.
341
func (info *RuntimeInfo) SetupFuseCleanPolicy(policy datav1alpha1.FuseCleanPolicy) {
342
if policy == datav1alpha1.NoneCleanPolicy {
343
// Default to set the fuse clean policy to OnRuntimeDeleted
0 commit comments