operator: fix the operator image name and update docs in DEVEL.md

https://sdk.operatorframework.io/docs/cli/operator-sdk_run_bundle/
According to the documentation of operator-sdk, docker.io should
be speficied.

Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
This commit is contained in:
Hyeongju Johannes Lee 2022-11-09 03:44:52 +02:00
parent 54061e841d
commit f85fbd6848
3 changed files with 10 additions and 8 deletions

View File

@ -142,12 +142,14 @@ $ make bundle-build
``` ```
> **Note**: You need to push the image to a registry if you want to follow the verification process below. > **Note**: You need to push the image to a registry if you want to follow the verification process below.
If pushing to the Docker hub, specify `docker.io/` in front of the image name for running bundle.
If pushing to the local registry, put the option `--use-http` for running bundle.
Verify the operator deployment works OK via OLM in your development cluster: Verify the operator deployment works OK via OLM in your development cluster:
``` ```
$ operator-sdk olm install $ operator-sdk olm install
$ kubectl create namespace testoperator $ kubectl create namespace testoperator
$ operator-sdk run bundle <Registry>/<Tag> -n testoperator --use-http $ operator-sdk run bundle <Registry>:<Tag> -n testoperator
# do verification checks # do verification checks
... ...
# do clean up # do clean up

View File

@ -23,7 +23,7 @@ spec:
control-plane: controller-manager control-plane: controller-manager
spec: spec:
containers: containers:
- image: intel/intel-deviceplugin-operator:devel - image: docker.io/intel/intel-deviceplugin-operator:devel
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: manager name: manager
livenessProbe: livenessProbe:

View File

@ -5,15 +5,15 @@ metadata:
alm-examples: '[]' alm-examples: '[]'
capabilities: Seamless Upgrades capabilities: Seamless Upgrades
categories: Drivers and plugins categories: Drivers and plugins
containerImage: intel/intel-deviceplugin-operator:0.24.0 containerImage: docker.io/intel/intel-deviceplugin-operator:0.25.0
createdAt: "2022-05-20" createdAt: "2022-11-09"
description: This operator is a Kubernetes custom controller whose goal is to description: This operator is a Kubernetes custom controller whose goal is to
serve the installation and lifecycle management of Intel device plugins for serve the installation and lifecycle management of Intel device plugins for
Kubernetes. Kubernetes.
operators.operatorframework.io/builder: operator-sdk-v1.20.0 operators.operatorframework.io/builder: operator-sdk-v1.25.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v2 operators.operatorframework.io/project_layout: go.kubebuilder.io/v2
repository: https://github.com/intel/intel-device-plugins-for-kubernetes repository: https://github.com/intel/intel-device-plugins-for-kubernetes
name: intel-device-plugins-operator.v0.24.0 name: intel-device-plugins-operator.v0.25.0
namespace: placeholder namespace: placeholder
spec: spec:
apiservicedefinitions: {} apiservicedefinitions: {}
@ -122,5 +122,5 @@ spec:
provider: provider:
name: Intel® Corporation name: Intel® Corporation
url: https://intel.com url: https://intel.com
replaces: intel-device-plugins-operator.v0.23.0 replaces: intel-device-plugins-operator.v0.24.0
version: 0.24.0 version: 0.25.0