Skip to content

Commit bbede29

Browse files
committed
Add valid-subscription annotation to CSV
This annotation is technically optional, but it's needed for downstream productization[1]: > Free-form array for listing any specific subscriptions that are > required to use the Operator Adding it here simplifies downstream CSV post-processing. RELDEL-7851 [1] https://docs.okd.io/4.18/operators/operator_sdk/osdk-generating-csvs.html#osdk-csv-annotations-other_osdk-generating-csvs
1 parent 0ba3a6d commit bbede29

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ metadata:
1111
features.operators.openshift.io/token-auth-aws: "false"
1212
features.operators.openshift.io/token-auth-azure: "false"
1313
features.operators.openshift.io/token-auth-gcp: "false"
14+
operators.openshift.io/valid-subscription: '["OpenShift Container Platform", "OpenShift Platform Plus"]'
1415
operatorframework.io/suggested-namespace: openstack-operators
1516
operators.operatorframework.io/builder: operator-sdk-v1.31.0
1617
operators.operatorframework.io/internal-objects: '["openstackclients.client.openstack.org","openstackdataplaneservices.dataplane.openstack.org"]'

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ metadata:
1111
features.operators.openshift.io/token-auth-aws: "false"
1212
features.operators.openshift.io/token-auth-azure: "false"
1313
features.operators.openshift.io/token-auth-gcp: "false"
14+
operators.openshift.io/valid-subscription: '["OpenShift Container Platform", "OpenShift Platform Plus"]'
1415
operatorframework.io/suggested-namespace: openstack-operators
1516
operatorframework.io/initialization-resource: '{"apiVersion":"operator.openstack.org/v1beta1","kind":"OpenStack","metadata":{"name":"openstack","namespace":"openstack-operators"},"spec":{}}'
1617
operators.operatorframework.io/builder: operator-sdk-v1.31.0

0 commit comments

Comments
 (0)