diff --git a/ray-operator/test/e2e/support.go b/ray-operator/test/e2e/support.go index 08b83fa90d..19ca5e1c22 100644 --- a/ray-operator/test/e2e/support.go +++ b/ray-operator/test/e2e/support.go @@ -178,7 +178,6 @@ func jobSubmitterPodTemplateApplyConfiguration() *corev1ac.PodTemplateSpecApplyC })))) } -// NewRedisDeployment creates a new Redis deployment configuration for testing func newRedisDeployment(namespace string) *appsv1ac.DeploymentApplyConfiguration { return appsv1ac.Deployment("redis", namespace). WithSpec(appsv1ac.DeploymentSpec(). @@ -197,6 +196,7 @@ func newRedisDeployment(namespace string) *appsv1ac.DeploymentApplyConfiguration ), ) } + func newRedisService(namespace string) *corev1ac.ServiceApplyConfiguration { return corev1ac.Service("redis", namespace). WithSpec(corev1ac.ServiceSpec().