Skip to content

operator: fix outdated information #1986

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion DEVEL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

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.replaces
- metadata.annotations.capabilities
- metadata.annotations.containerImage
- metadata.annotations.createdAT

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

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
```

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ bundle:
rm manifests/*service.yaml
rm manifests/*clusterrole.yaml
# 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)/

bundle-build:
Expand Down
2 changes: 1 addition & 1 deletion PROJECT
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
domain: intel.com
layout: go.kubebuilder.io/v2
layout: go.kubebuilder.io/v4
multigroup: true
projectName: intel-device-plugins-operator
repo: github.com/intel/intel-device-plugins-for-kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ kind: ClusterServiceVersion
metadata:
annotations:
alm-examples: '[]'
capabilities: Seamless Upgrades
capabilities: Full Lifecycle
categories: Drivers and plugins
containerImage: docker.io/intel/intel-deviceplugin-operator:0.25.0
createdAt: "2022-11-09"
description: This operator is a Kubernetes custom controller whose goal is to
serve the installation and lifecycle management of Intel device plugins for
Kubernetes.
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
name: intel-device-plugins-operator.v0.25.0
namespace: placeholder
Expand Down Expand Up @@ -117,7 +117,7 @@ spec:
name: Hyeongju Lee
- email: [email protected]
name: Mikko Ylinen
maturity: alpha
maturity: stable
minKubeVersion: 1.21.0
provider:
name: Intel® Corporation
Expand Down
1 change: 0 additions & 1 deletion deployments/operator/manifests/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
resources:
- ../default
- ../samples
- ../scorecard