Skip to content

Commit 6b007ef

Browse files
authored
Merge pull request #1986 from hj-johannes-lee/PR-2025-001
operator: fix outdated information
2 parents a14b172 + b1b03e6 commit 6b007ef

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

DEVEL.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,10 @@ There are few useful steps when working with changes to Device Plugins CRDs and
127127
### Publish a New Version of the Intel Device Plugins Operator to operatorhub.io
128128

129129
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).
130+
- spec.maturity
130131
- spec.version
131132
- spec.replaces
133+
- metadata.annotations.capabilities
132134
- metadata.annotations.containerImage
133135
- metadata.annotations.createdAT
134136

@@ -141,7 +143,7 @@ $ git clone https://github.com/<GitHub Username>/community-operators
141143

142144
Generate bundle and build bundle image:
143145
```
144-
$ make bundle TAG=0.X.Y CHANNELS=alpha DEFAULT_CHANNEL=alpha
146+
$ make bundle TAG=0.X.Y CHANNELS=stable DEFAULT_CHANNEL=stable
145147
$ make bundle-build
146148
```
147149

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ bundle:
126126
rm manifests/*service.yaml
127127
rm manifests/*clusterrole.yaml
128128
# Put generated files in a directory
129-
mv manifests metadata tests bundle.Dockerfile $(BUNDLE_DIR)
129+
mv manifests metadata bundle.Dockerfile $(BUNDLE_DIR)
130130
$(OPERATOR_SDK) bundle validate $(BUNDLE_DIR)/
131131

132132
bundle-build:

PROJECT

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
domain: intel.com
2-
layout: go.kubebuilder.io/v2
2+
layout: go.kubebuilder.io/v4
33
multigroup: true
44
projectName: intel-device-plugins-operator
55
repo: github.com/intel/intel-device-plugins-for-kubernetes

deployments/operator/manifests/bases/intel-device-plugins-operator.clusterserviceversion.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ kind: ClusterServiceVersion
33
metadata:
44
annotations:
55
alm-examples: '[]'
6-
capabilities: Seamless Upgrades
6+
capabilities: Full Lifecycle
77
categories: Drivers and plugins
88
containerImage: docker.io/intel/intel-deviceplugin-operator:0.25.0
99
createdAt: "2022-11-09"
1010
description: This operator is a Kubernetes custom controller whose goal is to
1111
serve the installation and lifecycle management of Intel device plugins for
1212
Kubernetes.
1313
operators.operatorframework.io/builder: operator-sdk-v1.25.0
14-
operators.operatorframework.io/project_layout: go.kubebuilder.io/v2
14+
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
1515
repository: https://github.com/intel/intel-device-plugins-for-kubernetes
1616
name: intel-device-plugins-operator.v0.25.0
1717
namespace: placeholder
@@ -117,7 +117,7 @@ spec:
117117
name: Hyeongju Lee
118118
119119
name: Mikko Ylinen
120-
maturity: alpha
120+
maturity: stable
121121
minKubeVersion: 1.21.0
122122
provider:
123123
name: Intel® Corporation
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
resources:
22
- ../default
33
- ../samples
4-
- ../scorecard

0 commit comments

Comments
 (0)