Skip to content

Commit 393ed34

Browse files
authored
Specify linked-clone as a valid parameter during file volume validation (#3466)
Signed-off-by: Deepak Kinni <[email protected]>
1 parent f02264c commit 393ed34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/csi/service/wcp/controller_helper.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ func validateCreateFileReqParam(paramName, value string) bool {
8282
paramName == common.AttributePvName ||
8383
paramName == common.AttributePvcName ||
8484
paramName == common.AttributePvcNamespace ||
85-
paramName == common.AttributeStorageClassName
85+
paramName == common.AttributeStorageClassName ||
86+
paramName == common.AttributeIsLinkedCloneKey
8687
}
8788

8889
// validateWCPCreateVolumeRequest is the helper function to validate

0 commit comments

Comments
 (0)