From 1a60e622aca40a1a3fae6fd4730b24f43ff3b911 Mon Sep 17 00:00:00 2001 From: Alex Jones Date: Mon, 24 Apr 2023 16:42:07 +0200 Subject: [PATCH] chore: refactor image location Signed-off-by: Alex Jones --- Makefile | 2 +- pkg/resources/k8sgpt.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f564c0b4..91e84d95 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # Image URL to use all building/pushing image targets -IMG ?= ghcr.io/k8sgpt-ai/k8sgpt:latest +IMG ?= ghcr.io/k8sgpt-ai/k8sgpt-operator:latest # ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary. ENVTEST_K8S_VERSION = 1.26.0 CHART_VERSION=v0.0.1# x-release-please-version diff --git a/pkg/resources/k8sgpt.go b/pkg/resources/k8sgpt.go index 9ac6fbd9..3f47ab02 100644 --- a/pkg/resources/k8sgpt.go +++ b/pkg/resources/k8sgpt.go @@ -171,7 +171,7 @@ func GetDeployment(config v1alpha1.K8sGPT) (*appsv1.Deployment, error) { Containers: []v1.Container{ { Name: "k8sgpt", - Image: "ghcr.io/k8sgpt-ai/k8sgpt:" + config.Spec.Version, + Image: "ghcr.io/k8sgpt-ai/k8sgpt-operator:" + config.Spec.Version, Args: []string{ "serve", },