Skip to content

Commit 1532897

Browse files
author
Chinmay Gadgil
committed
Use Colorteller application image from public docker registry
1 parent d8ee617 commit 1532897

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

test/e2e/ingress/multi_path_backend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ func (s *multiPathBackendStack) buildBackendResource(ns *corev1.Namespace, backe
316316
Containers: []corev1.Container{
317317
{
318318
Name: "app",
319-
Image: "970805265562.dkr.ecr.us-west-2.amazonaws.com/colorteller:latest",
319+
Image: utils.COLORTELLER_IMAGE,
320320
Ports: []corev1.ContainerPort{
321321
{
322322
ContainerPort: 8080,

test/framework/manifest/fixed_response_service_builder.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ package manifest
22

33
import (
44
"fmt"
5+
56
"github.com/aws/aws-sdk-go/aws"
67
appsv1 "k8s.io/api/apps/v1"
78
corev1 "k8s.io/api/core/v1"
89
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
910
"k8s.io/apimachinery/pkg/util/intstr"
11+
"sigs.k8s.io/aws-load-balancer-controller/test/framework/utils"
1012
)
1113

1214
// NewFixedResponseServiceBuilder constructs a builder that capable to build manifest for an HTTP service with fixed response.
@@ -93,7 +95,7 @@ func (b *fixedResponseServiceBuilder) buildDeployment(namespace string, name str
9395
Containers: []corev1.Container{
9496
{
9597
Name: "app",
96-
Image: "970805265562.dkr.ecr.us-west-2.amazonaws.com/colorteller:latest",
98+
Image: utils.COLORTELLER_IMAGE,
9799
Ports: []corev1.ContainerPort{
98100
{
99101
Name: b.targetPortName,

test/framework/utils/constants.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package utils
2+
3+
const (
4+
COLORTELLER_IMAGE = "chinmay5j/colorteller:v1"
5+
)

0 commit comments

Comments
 (0)