From e735601eeb17de4f1b64e49e7b6a43f54bd64a39 Mon Sep 17 00:00:00 2001 From: Konduri Satya Narayana Date: Fri, 24 Feb 2023 16:46:58 +0530 Subject: [PATCH] Update amaas reference --- pkg/k8sclient/resources/pod/pod.go | 4 ++-- pkg/k8sclient/resources/statefulset/sts.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/k8sclient/resources/pod/pod.go b/pkg/k8sclient/resources/pod/pod.go index a9bb45f..943b01d 100644 --- a/pkg/k8sclient/resources/pod/pod.go +++ b/pkg/k8sclient/resources/pod/pod.go @@ -113,7 +113,7 @@ func (c *Client) MakePod(config *Config) *v1.Pod { } if len(config.ContainerImage) == 0 { - config.ContainerImage = "amaas-eos-mw1.cec.lab.emc.com:5028/centos:latest" + config.ContainerImage = "docker.io/centos:latest" } if len(config.Command) == 0 { @@ -534,7 +534,7 @@ func (c *Client) MakeEphemeralPod(config *Config) *v1.Pod { } if len(config.ContainerImage) == 0 { - config.ContainerImage = "amaas-eos-mw1.cec.lab.emc.com:5028/centos:latest" + config.ContainerImage = "docker.io/centos:latest" } if len(config.Command) == 0 { diff --git a/pkg/k8sclient/resources/statefulset/sts.go b/pkg/k8sclient/resources/statefulset/sts.go index 84e5ae4..8914b35 100644 --- a/pkg/k8sclient/resources/statefulset/sts.go +++ b/pkg/k8sclient/resources/statefulset/sts.go @@ -123,7 +123,7 @@ func (c *Client) MakeStatefulSet(config *Config) *appsv1.StatefulSet { } if len(config.ContainerImage) == 0 { - config.ContainerImage = "amaas-eos-mw1.cec.lab.emc.com:5028/centos:latest" + config.ContainerImage = "docker.io/centos:latest" } if len(config.Command) == 0 {