Merge pull request #1986 from hj-johannes-lee/PR-2025-001

operator: fix outdated information
This commit is contained in:
Mikko Ylinen 2025-03-13 15:56:57 +02:00 committed by GitHub
commit 6b007efb76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 8 additions and 7 deletions

View File

@ -127,8 +127,10 @@ There are few useful steps when working with changes to Device Plugins CRDs and
### Publish a New Version of the Intel Device Plugins Operator to operatorhub.io ### Publish a New Version of the Intel Device Plugins Operator to operatorhub.io
Check if the fields mentioned below in the [base CSV manifest file](deployments/operator/manifests/bases/intel-device-plugins-operator.clusterserviceversion.yaml) have the correct values. If not, fix them manually (operator-sdk does not support updating these fields in any other way). Check if the fields mentioned below in the [base CSV manifest file](deployments/operator/manifests/bases/intel-device-plugins-operator.clusterserviceversion.yaml) have the correct values. If not, fix them manually (operator-sdk does not support updating these fields in any other way).
- spec.maturity
- spec.version - spec.version
- spec.replaces - spec.replaces
- metadata.annotations.capabilities
- metadata.annotations.containerImage - metadata.annotations.containerImage
- metadata.annotations.createdAT - metadata.annotations.createdAT
@ -141,7 +143,7 @@ $ git clone https://github.com/<GitHub Username>/community-operators
Generate bundle and build bundle image: Generate bundle and build bundle image:
``` ```
$ make bundle TAG=0.X.Y CHANNELS=alpha DEFAULT_CHANNEL=alpha $ make bundle TAG=0.X.Y CHANNELS=stable DEFAULT_CHANNEL=stable
$ make bundle-build $ make bundle-build
``` ```

View File

@ -126,7 +126,7 @@ bundle:
rm manifests/*service.yaml rm manifests/*service.yaml
rm manifests/*clusterrole.yaml rm manifests/*clusterrole.yaml
# Put generated files in a directory # Put generated files in a directory
mv manifests metadata tests bundle.Dockerfile $(BUNDLE_DIR) mv manifests metadata bundle.Dockerfile $(BUNDLE_DIR)
$(OPERATOR_SDK) bundle validate $(BUNDLE_DIR)/ $(OPERATOR_SDK) bundle validate $(BUNDLE_DIR)/
bundle-build: bundle-build:

View File

@ -1,5 +1,5 @@
domain: intel.com domain: intel.com
layout: go.kubebuilder.io/v2 layout: go.kubebuilder.io/v4
multigroup: true multigroup: true
projectName: intel-device-plugins-operator projectName: intel-device-plugins-operator
repo: github.com/intel/intel-device-plugins-for-kubernetes repo: github.com/intel/intel-device-plugins-for-kubernetes

View File

@ -3,7 +3,7 @@ kind: ClusterServiceVersion
metadata: metadata:
annotations: annotations:
alm-examples: '[]' alm-examples: '[]'
capabilities: Seamless Upgrades capabilities: Full Lifecycle
categories: Drivers and plugins categories: Drivers and plugins
containerImage: docker.io/intel/intel-deviceplugin-operator:0.25.0 containerImage: docker.io/intel/intel-deviceplugin-operator:0.25.0
createdAt: "2022-11-09" createdAt: "2022-11-09"
@ -11,7 +11,7 @@ metadata:
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.25.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/v4
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.25.0 name: intel-device-plugins-operator.v0.25.0
namespace: placeholder namespace: placeholder
@ -117,7 +117,7 @@ spec:
name: Hyeongju Lee name: Hyeongju Lee
- email: mikko.ylinen@intel.com - email: mikko.ylinen@intel.com
name: Mikko Ylinen name: Mikko Ylinen
maturity: alpha maturity: stable
minKubeVersion: 1.21.0 minKubeVersion: 1.21.0
provider: provider:
name: Intel® Corporation name: Intel® Corporation

View File

@ -1,4 +1,3 @@
resources: resources:
- ../default - ../default
- ../samples - ../samples
- ../scorecard