@@ -193,7 +193,7 @@ func TestTektonBundlesSimpleWorkingExample(t *testing.T) {
193
193
taskName := "hello-world"
194
194
pipelineName := "hello-world-pipeline"
195
195
pipelineRunName := "hello-world-piplinerun"
196
- repo := fmt .Sprintf ("registry.%s.svc.cluster.local :5000/tektonbundlessimple" , namespace )
196
+ repo := fmt .Sprintf ("%s :5000/tektonbundlessimple" , getRegistryServiceIP ( ctx , t , c , namespace ) )
197
197
198
198
ref , err := name .ParseReference (repo )
199
199
if err != nil {
@@ -333,7 +333,7 @@ func TestTektonBundlesUsingRegularImage(t *testing.T) {
333
333
taskName := "hello-world-dne"
334
334
pipelineName := "hello-world-pipeline-dne"
335
335
pipelineRunName := "hello-world-piplinerun"
336
- repo := fmt .Sprintf ("registry.%s.svc.cluster.local :5000/tektonbundlesregularimage" , namespace )
336
+ repo := fmt .Sprintf ("%s :5000/tektonbundlesregularimage" , getRegistryServiceIP ( ctx , t , c , namespace ) )
337
337
338
338
ref , err := name .ParseReference (repo )
339
339
if err != nil {
@@ -418,7 +418,7 @@ func TestTektonBundlesUsingImproperFormat(t *testing.T) {
418
418
taskName := "hello-world"
419
419
pipelineName := "hello-world-pipeline"
420
420
pipelineRunName := "hello-world-piplinerun"
421
- repo := fmt .Sprintf ("registry.%s.svc.cluster.local :5000/tektonbundlesimproperformat" , namespace )
421
+ repo := fmt .Sprintf ("%s :5000/tektonbundlesimproperformat" , getRegistryServiceIP ( ctx , t , c , namespace ) )
422
422
423
423
ref , err := name .ParseReference (repo )
424
424
if err != nil {
0 commit comments