From a790d5eb890bbea194bfccc2754d52b86db3e9db Mon Sep 17 00:00:00 2001 From: mahdikhashan Date: Mon, 14 Apr 2025 18:58:51 +0200 Subject: [PATCH 1/2] pull image from ghcr in manifest Signed-off-by: mahdikhashan --- manifests/base/deployment.yaml | 2 +- manifests/base/kustomization.yaml | 4 ++-- manifests/overlays/standalone/kustomization.yaml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/manifests/base/deployment.yaml b/manifests/base/deployment.yaml index 44718990e..52e4bcd91 100644 --- a/manifests/base/deployment.yaml +++ b/manifests/base/deployment.yaml @@ -17,6 +17,6 @@ spec: containers: - args: - -alsologtostderr - image: mpioperator/mpi-operator:latest + image: ghcr.io/kubeflow/mpi-operator/controller:latest name: mpi-operator serviceAccountName: mpi-operator diff --git a/manifests/base/kustomization.yaml b/manifests/base/kustomization.yaml index 0b310c77d..7d0c0ba0a 100644 --- a/manifests/base/kustomization.yaml +++ b/manifests/base/kustomization.yaml @@ -13,6 +13,6 @@ commonLabels: app.kubernetes.io/name: mpi-operator app.kubernetes.io/component: mpijob images: -- name: mpioperator/mpi-operator - newName: mpioperator/mpi-operator +- name: ghcr.io/kubeflow/mpi-operator/controller + newName: ghcr.io/kubeflow/mpi-operator/controller newTag: latest diff --git a/manifests/overlays/standalone/kustomization.yaml b/manifests/overlays/standalone/kustomization.yaml index 1182b682a..4c3190bc1 100644 --- a/manifests/overlays/standalone/kustomization.yaml +++ b/manifests/overlays/standalone/kustomization.yaml @@ -10,8 +10,8 @@ commonLabels: app.kubernetes.io/name: mpi-operator app.kubernetes.io/component: mpijob images: -- name: mpioperator/mpi-operator - newName: mpioperator/mpi-operator +- name: ghcr.io/kubeflow/mpi-operator/controller + newName: ghcr.io/kubeflow/mpi-operator/controller newTag: master patches: - target: From d2ae7e07c13ce47951dfdf46a466e09823728306 Mon Sep 17 00:00:00 2001 From: mahdikhashan Date: Wed, 16 Apr 2025 15:54:29 +0200 Subject: [PATCH 2/2] replace docker with ghcr in makefile Signed-off-by: mahdikhashan --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9cb29845e..0d3848574 100644 --- a/Makefile +++ b/Makefile @@ -27,8 +27,8 @@ LD_FLAGS_V2=" \ -X '${REPO_PATH}/pkg/version.GitSHA=${GitSHA}' \ -X '${REPO_PATH}/pkg/version.Built=${Date}' \ -X '${REPO_PATH}/pkg/version.Version=${RELEASE_VERSION}'" -REGISTRY?=docker.io/mpioperator -IMAGE_NAME?=${REGISTRY}/mpi-operator +REGISTRY?=ghcr.io/kubeflow/mpi-operator +IMAGE_NAME?=${REGISTRY}/controller KUBEBUILDER_ASSETS_PATH := $(dir $(abspath $(firstword $(MAKEFILE_LIST))))bin/kubebuilder/bin KIND_VERSION=v0.18.0 HELM_VERSION=v3.11.2