Skip to content

Commit d701bf4

Browse files
Merge pull request #90 from lpiwowar/lpiwowar/scorecard-resource
Add resources to CSV
2 parents b16afa9 + 8f2b858 commit d701bf4

3 files changed

Lines changed: 31 additions & 1 deletion

File tree

api/v1beta1/openstacklightspeed_types.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ type OpenStackLightspeedStatus struct {
127127
// +kubebuilder:subresource:status
128128
// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.conditions[0].status",description="Status"
129129
// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[0].message",description="Message"
130+
// +operator-sdk:csv:customresourcedefinitions:resources={{OLSConfig,v1alpha1,cluster}}
131+
// +operator-sdk:csv:customresourcedefinitions:resources={{Subscription,v1alpha1}}
132+
// +operator-sdk:csv:customresourcedefinitions:resources={{ClusterServiceVersion,v1alpha1}}
133+
// +operator-sdk:csv:customresourcedefinitions:resources={{InstallPlan,v1alpha}}
130134

131135
// OpenStackLightspeed is the Schema for the openstacklightspeeds API
132136
type OpenStackLightspeed struct {

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

Lines changed: 14 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-19T09:36:07Z"
28+
createdAt: "2026-02-19T12:53:35Z"
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"
@@ -52,6 +52,19 @@ spec:
5252
displayName: Open Stack Lightspeed
5353
kind: OpenStackLightspeed
5454
name: openstacklightspeeds.lightspeed.openstack.org
55+
resources:
56+
- kind: ClusterServiceVersion
57+
name: ""
58+
version: v1alpha1
59+
- kind: InstallPlan
60+
name: ""
61+
version: v1alpha
62+
- kind: Subscription
63+
name: ""
64+
version: v1alpha1
65+
- kind: OLSConfig
66+
name: cluster
67+
version: v1alpha1
5568
specDescriptors:
5669
- description: Type of the provider serving the LLM
5770
displayName: Provider Type

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@ spec:
2929
displayName: Open Stack Lightspeed
3030
kind: OpenStackLightspeed
3131
name: openstacklightspeeds.lightspeed.openstack.org
32+
resources:
33+
- kind: ClusterServiceVersion
34+
name: ""
35+
version: v1alpha1
36+
- kind: InstallPlan
37+
name: ""
38+
version: v1alpha
39+
- kind: Subscription
40+
name: ""
41+
version: v1alpha1
42+
- kind: OLSConfig
43+
name: cluster
44+
version: v1alpha1
3245
specDescriptors:
3346
- description: Type of the provider serving the LLM
3447
displayName: Provider Type

0 commit comments

Comments
 (0)