From fb44d99397e7083708aac1193d36735d0f7a50d6 Mon Sep 17 00:00:00 2001 From: Juntao Wang Date: Thu, 19 Sep 2024 14:46:44 -0400 Subject: [PATCH 1/2] Get rid of imagePullSecrets field in RHOAI deployment --- manifests/rhoai/shared/base/deployment.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/manifests/rhoai/shared/base/deployment.yaml b/manifests/rhoai/shared/base/deployment.yaml index dfcf729954..433501790f 100644 --- a/manifests/rhoai/shared/base/deployment.yaml +++ b/manifests/rhoai/shared/base/deployment.yaml @@ -20,7 +20,3 @@ - op: replace path: /spec/template/spec/serviceAccount value: rhods-dashboard -- op: replace - path: /spec/template/spec/imagePullSecrets - value: - - name: addon-managed-odh-pullsecret From 8283fa394b8c27442d3a27a25377b17b47b423d1 Mon Sep 17 00:00:00 2001 From: Juntao Wang Date: Fri, 20 Sep 2024 09:31:30 -0400 Subject: [PATCH 2/2] Remove this field in NIM and Anaconda --- manifests/rhoai/shared/base/anaconda-ce-validator-cron.yaml | 2 -- manifests/rhoai/shared/base/nvidia-nim-validator-cron.yaml | 2 -- 2 files changed, 4 deletions(-) diff --git a/manifests/rhoai/shared/base/anaconda-ce-validator-cron.yaml b/manifests/rhoai/shared/base/anaconda-ce-validator-cron.yaml index 4700dea554..aa600f9271 100644 --- a/manifests/rhoai/shared/base/anaconda-ce-validator-cron.yaml +++ b/manifests/rhoai/shared/base/anaconda-ce-validator-cron.yaml @@ -19,8 +19,6 @@ spec: parent: "anaconda-ce-periodic-validator" spec: serviceAccount: "rhods-dashboard" - imagePullSecrets: - - name: addon-managed-odh-pullsecret containers: - name: anaconda-ce-validator image: registry.redhat.io/openshift4/ose-cli@sha256:75bf9b911b6481dcf29f7942240d1555adaa607eec7fc61bedb7f624f87c36d4 diff --git a/manifests/rhoai/shared/base/nvidia-nim-validator-cron.yaml b/manifests/rhoai/shared/base/nvidia-nim-validator-cron.yaml index 1d6e67e605..b3a62aa607 100644 --- a/manifests/rhoai/shared/base/nvidia-nim-validator-cron.yaml +++ b/manifests/rhoai/shared/base/nvidia-nim-validator-cron.yaml @@ -19,8 +19,6 @@ spec: parent: "nvidia-nim-periodic-validator" spec: serviceAccount: "rhods-dashboard" - imagePullSecrets: - - name: addon-managed-odh-pullsecret containers: - name: nvidia-nim-validator image: registry.redhat.io/openshift4/ose-cli@sha256:75bf9b911b6481dcf29f7942240d1555adaa607eec7fc61bedb7f624f87c36d4