From aed44152a52837d43071f3488008a2a7b8af8396 Mon Sep 17 00:00:00 2001 From: Dimitri Saridakis Date: Wed, 25 Oct 2023 19:01:43 +0100 Subject: [PATCH] fix: add image ref and path --- .../bases/codeflare-notebook-imagestream.yaml | 2 +- config/manifests/bases/params.env | 2 +- config/manifests/bases/params.yaml | 2 ++ config/manifests/kustomization.yaml | 10 ++++++++-- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/config/manifests/bases/codeflare-notebook-imagestream.yaml b/config/manifests/bases/codeflare-notebook-imagestream.yaml index 54abd029e..62a02dcf3 100644 --- a/config/manifests/bases/codeflare-notebook-imagestream.yaml +++ b/config/manifests/bases/codeflare-notebook-imagestream.yaml @@ -18,4 +18,4 @@ spec: kind: DockerImage name: quay.io/project-codeflare/notebook:v0.7.0 importPolicy: - scheduled: true + scheduled: true diff --git a/config/manifests/bases/params.env b/config/manifests/bases/params.env index 522d38ddf..d23689c63 100644 --- a/config/manifests/bases/params.env +++ b/config/manifests/bases/params.env @@ -1,2 +1,2 @@ namespace=opendatahub -odh-codeflare-operator-controller-image=quay.io/project-codeflare/codeflare-operator:v1.0.0-rc.2 \ No newline at end of file +odh-codeflare-operator-controller-image=quay.io/project-codeflare/codeflare-operator:v1.0.0-rc.4 \ No newline at end of file diff --git a/config/manifests/bases/params.yaml b/config/manifests/bases/params.yaml index 9f878e27c..13bc031ee 100644 --- a/config/manifests/bases/params.yaml +++ b/config/manifests/bases/params.yaml @@ -1,3 +1,5 @@ varReference: - path: subjects[]/namespace kind: ClusterRoleBinding + - path: spec/template/spec/containers[]/image + kind: Deployment diff --git a/config/manifests/kustomization.yaml b/config/manifests/kustomization.yaml index b44813d7a..9245be728 100644 --- a/config/manifests/kustomization.yaml +++ b/config/manifests/kustomization.yaml @@ -16,8 +16,14 @@ vars: apiVersion: v1 fieldref: fieldpath: data.namespace -# These resources constitute the fully configured set of manifests -# used to generate the 'manifests/' directory in a bundle. +- name: ODH_CODEFLARE_OPERATOR_CONTROLLER_IMAGE + objref: + kind: ConfigMap + name: codeflare-stack-config + apiVersion: v1 + fieldref: + fieldpath: data.odh-codeflare-operator-controller-image resources: - ../default - bases/codeflare-notebook-imagestream.yaml +