Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

Commit 2d0f124

Browse files
authored
fixes for bundle (#47)
* tests fixes for bundle * review changes * bundle corrections
1 parent 8a044c7 commit 2d0f124

6 files changed

Lines changed: 21 additions & 20 deletions

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,16 @@ CATALOG_REPOSITORY ?= registry.toolbox.iotg.sclab.intel.com/cpp/openvino-operato
8989
bundle_build:
9090
ifeq ($(TARGET_PLATFORM), openshift)
9191
echo "Building openshift bundle"
92-
sed -i "s|registry.connect.redhat.com/intel/ovms-operator:0.2.0|$(OPERATOR_IMAGE):$(IMAGE_TAG)|" bundle/manifests/openvino-operator.clusterserviceversion.yaml
93-
sed -i "s|gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0|registry.redhat.io/openshift4/ose-kube-rbac-proxy:v4.8.0|" bundle/manifests/openvino-operator.clusterserviceversion.yaml
92+
sed -i "s|registry.connect.redhat.com/intel/ovms-operator:1.0.0|$(OPERATOR_IMAGE):$(IMAGE_TAG)|" bundle/manifests/openvino-operator.clusterserviceversion.yaml
93+
sed -i "s|gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0|registry.redhat.io/openshift4/ose-kube-rbac-proxy:v4.9.0|" bundle/manifests/openvino-operator.clusterserviceversion.yaml
9494
docker build -t $(BUNDLE_REPOSITORY):$(IMAGE_TAG) -f bundle/Dockerfile bundle
95-
sed -i "s|$(OPERATOR_IMAGE):$(IMAGE_TAG)|registry.connect.redhat.com/intel/ovms-operator:0.2.0|" bundle/manifests/openvino-operator.clusterserviceversion.yaml
96-
sed -i "s|registry.redhat.io/openshift4/ose-kube-rbac-proxy:v4.8.0|gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0|" bundle/manifests/openvino-operator.clusterserviceversion.yaml
95+
sed -i "s|$(OPERATOR_IMAGE):$(IMAGE_TAG)|registry.connect.redhat.com/intel/ovms-operator:1.0.0|" bundle/manifests/openvino-operator.clusterserviceversion.yaml
96+
sed -i "s|registry.redhat.io/openshift4/ose-kube-rbac-proxy:v4.9.0|gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0|" bundle/manifests/openvino-operator.clusterserviceversion.yaml
9797
else
9898
echo "Building kubernetes bundle"
9999
sed -i "s|registry.connect.redhat.com/intel/ovms-operator:0.2.0|$(OPERATOR_IMAGE):$(IMAGE_TAG)|" bundle/manifests/openvino-operator.clusterserviceversion.yaml
100100
docker build -t $(BUNDLE_REPOSITORY)-k8s:$(IMAGE_TAG) -f bundle/Dockerfile bundle
101-
sed -i "s|$(OPERATOR_IMAGE):$(IMAGE_TAG)|registry.connect.redhat.com/intel/ovms-operator:0.2.0|" bundle/manifests/openvino-operator.clusterserviceversion.yaml
101+
sed -i "s|$(OPERATOR_IMAGE):$(IMAGE_TAG)|registry.connect.redhat.com/intel/ovms-operator:1.0.0|" bundle/manifests/openvino-operator.clusterserviceversion.yaml
102102
endif
103103

104104
bundle_push:

bundle/manifests/intel.com_model_servers.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ spec:
253253
In openshift, you might need to create Security Context Constraints to allow grant permissions for changing the context.
254254
type: string
255255
runAsGroup:
256-
type: string
257-
description: >-
256+
type: string
257+
description: >-
258258
Set the group ID if access to the model repository is restricted. Model server will start with this security context.
259259
In openshift, you might need to create Security Context Constraints to allow grant permissions for changing the context.
260260
aws_secret_access_key:
@@ -297,4 +297,3 @@ status:
297297
plural: ""
298298
conditions: null
299299
storedVersions: null
300-

bundle/manifests/intel.com_notebooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ spec:
3838
type: boolean
3939
default: false
4040
latest_update_date:
41-
description: The date of the latest notebooks update in format Year-Month-Day. Not used if auto_update_image not set.
41+
description: The date of the latest notebooks update in format Year-Month-Day. Not used if auto_update_image not set
4242
type: string
4343
commit:
4444
description: Git commit reference in notebook repository to build the docker image

bundle/manifests/openvino-operator-controller-manager_v1_serviceaccount.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

bundle/manifests/openvino-operator.clusterserviceversion.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ metadata:
7878
]
7979
capabilities: Basic Install
8080
categories: "AI/Machine Learning"
81-
operators.operatorframework.io/builder: operator-sdk-v1.7.1+git
81+
operators.operatorframework.io/builder: operator-sdk-v1.19.1+git
8282
operators.operatorframework.io/project_layout: helm.sdk.operatorframework.io/v1
8383
name: openvino-operator.v1.0.0
8484
namespace: placeholder
@@ -511,7 +511,7 @@ spec:
511511
- --metrics-bind-address=127.0.0.1:8080
512512
- --leader-elect
513513
- --leader-election-id=ovms-operator
514-
image: registry.connect.redhat.com/intel/ovms-operator:0.2.0
514+
image: registry.connect.redhat.com/intel/ovms-operator:1.0.0
515515
livenessProbe:
516516
httpGet:
517517
path: /healthz
@@ -585,9 +585,15 @@ spec:
585585
- AI Inference OpenVINO
586586
links:
587587
- name: OpenVINO Toolkit Operator
588-
url: https://github.com/openvinotoolkit/openshift_operator
588+
url: https://github.com/openvinotoolkit/operator
589+
- name: OpenVINO Model Server
590+
url: https://github.com/openvinotoolkit/model_server
591+
- name: OpenVINO Notebooks
592+
url: https://github.com/openvinotoolkit/openvino_notebooks
593+
maintainers:
594+
- name: Operator Support
595+
email: openvino-operator-support@intel.com
589596
maturity: alpha
590597
provider:
591598
name: Intel
592-
url: https://github.com/openvinotoolkit/model_server
593599
version: 1.0.0

bundle/metadata/annotations.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ annotations:
55
operators.operatorframework.io.bundle.metadata.v1: metadata/
66
operators.operatorframework.io.bundle.package.v1: ovms-operator
77
operators.operatorframework.io.bundle.channels.v1: alpha
8-
operators.operatorframework.io.metrics.builder: operator-sdk-v1.7.1+git
8+
operators.operatorframework.io.bundle.channel.default.v1: alpha
9+
operators.operatorframework.io.metrics.builder: operator-sdk-v1.19.1+git
910
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
1011
operators.operatorframework.io.metrics.project_layout: helm.sdk.operatorframework.io/v1
1112

1213
# Annotations for testing.
1314
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
1415
operators.operatorframework.io.test.config.v1: tests/scorecard/
1516

16-
com.redhat.openshift.versions: "v4.6"
17+
com.redhat.openshift.versions: "v4.9"

0 commit comments

Comments
 (0)