You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@uniffle.apache.org by "advancedxy (via GitHub)" <gi...@apache.org> on 2023/02/21 06:43:40 UTC

[GitHub] [incubator-uniffle] advancedxy commented on a diff in pull request #634: [#632]fix: respect volumes in rss spec

advancedxy commented on code in PR #634:
URL: https://github.com/apache/incubator-uniffle/pull/634#discussion_r1112605279


##########
deploy/kubernetes/operator/pkg/controller/sync/shuffleserver/shuffleserver_test.go:
##########
@@ -315,6 +334,18 @@ func TestGenerateSts(t *testing.T) {
 				return
 			},
 		},
+		{
+			name: "test custom volumes",
+			rss:  withCustomVolumes(testVolumes),
+			IsValidSts: func(sts *appsv1.StatefulSet, rss *uniffleapi.RemoteShuffleService) (valid bool, err error) {
+				for _, volume := range sts.Spec.Template.Spec.Volumes {
+					if volume.Name == testVolumeName {
+						return true, nil

Review Comment:
   addressed. Please take a look again



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org