squakez commented on code in PR #4849:
URL: https://github.com/apache/camel-k/pull/4849#discussion_r1369767838


##########
e2e/install/kustomize/operator_test.go:
##########
@@ -69,6 +69,10 @@ func TestOperatorBasic(t *testing.T) {
                
Expect(operatorPod.Spec.Containers[0].SecurityContext.AllowPrivilegeEscalation).To(Equal(kubernetes.DefaultOperatorSecurityContext().AllowPrivilegeEscalation))
 
                Eventually(Platform(ns)).ShouldNot(BeNil())
+               platform := Platform(ns)()
+               Expect(platform.Spec.Build.Registry).ShouldNot(BeNil())
+               
Expect(platform.Spec.Build.Registry.Address).To(Equal("kind-registry:5000"))

Review Comment:
   I think we have an environment variable controlling that value, 
`KIND_REGISTRY`. I'd say that, for portability reasons, we should that instead 
of a constant.



-- 
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: commits-unsubscr...@camel.apache.org

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

Reply via email to