Skip to content

Commit bc8580e

Browse files
committed
Add valid-subscription annotation to CSV
This annotation is optional in the operator spec [1] but actually required to release the operator downstream. It lists subscriptions required to use the operator. Let's use the same value as openstack-operator [2]. RELDEL-8649 [1] https://docs.okd.io/4.18/operators/operator_sdk/osdk-generating-csvs.html#osdk-csv-annotations-other_osdk-generating-csvs [2] https://github.com/openstack-k8s-operators/openstack-operator/blob/b950208d215e81f0cc2e0a9e6f6857a491d7f0c8/config/operator/manifests/bases/openstack-operator.clusterserviceversion.yaml#L14
1 parent 55ffb15 commit bc8580e

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

bundle/manifests/openstack-lightspeed-operator.clusterserviceversion.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ metadata:
2525
]
2626
capabilities: Basic Install
2727
categories: AI/Machine Learning
28-
createdAt: "2026-02-19T13:45:56Z"
28+
createdAt: "2026-04-15T07:57:01Z"
2929
description: AI-powered virtual assistant for Red Hat OpenStack Services on OpenShift
3030
features.operators.openshift.io/cnf: "false"
3131
features.operators.openshift.io/cni: "false"
@@ -38,6 +38,8 @@ metadata:
3838
features.operators.openshift.io/token-auth-azure: "false"
3939
features.operators.openshift.io/token-auth-gcp: "false"
4040
operatorframework.io/suggested-namespace: openshift-lightspeed
41+
operators.openshift.io/valid-subscription: '["OpenShift Container Platform", "OpenShift
42+
Platform Plus"]'
4143
operators.operatorframework.io/builder: operator-sdk-v1.38.0
4244
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
4345
repository: https://github.com/openstack-lightspeed/operator

config/manifests/bases/openstack-lightspeed-operator.clusterserviceversion.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ metadata:
1717
features.operators.openshift.io/token-auth-azure: "false"
1818
features.operators.openshift.io/token-auth-gcp: "false"
1919
operatorframework.io/suggested-namespace: openshift-lightspeed
20+
operators.openshift.io/valid-subscription: '["OpenShift Container Platform", "OpenShift
21+
Platform Plus"]'
2022
repository: https://github.com/openstack-lightspeed/operator
2123
name: openstack-lightspeed-operator.v0.0.0
2224
namespace: openshift-lightspeed

0 commit comments

Comments
 (0)