Skip to content
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
8 changes: 6 additions & 2 deletions api/v1beta1/openstacklightspeed_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ type OpenStackLightspeedSpec struct {
// OpenStackLightspeedCore defines the desired state of OpenStackLightspeed
type OpenStackLightspeedCore struct {
// +kubebuilder:validation:Required
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="LLM Endpoint"
// URL pointing to the LLM
LLMEndpoint string `json:"llmEndpoint"`

Expand All @@ -62,15 +63,18 @@ type OpenStackLightspeedCore struct {
LLMEndpointType string `json:"llmEndpointType"`

// +kubebuilder:validation:Required
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Model Name"
// Name of the model to use at the API endpoint provided in LLMEndpoint
ModelName string `json:"modelName"`

// +kubebuilder:validation:Required
// Secret name containing API token for the LLMEndpoint. The key for the field
// in the secret that holds the token should be "apitoken".
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="LLM Credentials Secret"
// Secret name containing API token for the LLMEndpoint. The secret must contain
// a field named "apitoken" which holds the token value.
LLMCredentials string `json:"llmCredentials"`

// +kubebuilder:validation:Optional
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="TLS CA Certificate Bundle"
// Configmap name containing a CA Certificates bundle
TLSCACertBundle string `json:"tlsCACertBundle"`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ spec:
type: string
llmCredentials:
description: |-
Secret name containing API token for the LLMEndpoint. The key for the field
in the secret that holds the token should be "apitoken".
Secret name containing API token for the LLMEndpoint. The secret must contain
a field named "apitoken" which holds the token value.
type: string
llmDeploymentName:
description: Deployment name for LLM providers that require it (e.g.,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ metadata:
]
capabilities: Basic Install
categories: AI/Machine Learning
createdAt: "2026-02-19T12:53:35Z"
createdAt: "2026-02-19T13:45:56Z"
description: AI-powered virtual assistant for Red Hat OpenStack Services on OpenShift
features.operators.openshift.io/cnf: "false"
features.operators.openshift.io/cni: "false"
Expand Down Expand Up @@ -66,9 +66,23 @@ spec:
name: cluster
version: v1alpha1
specDescriptors:
- description: |-
Secret name containing API token for the LLMEndpoint. The secret must contain
a field named "apitoken" which holds the token value.
displayName: LLM Credentials Secret
path: llmCredentials
- description: URL pointing to the LLM
displayName: LLM Endpoint
path: llmEndpoint
- description: Type of the provider serving the LLM
displayName: Provider Type
path: llmEndpointType
- description: Name of the model to use at the API endpoint provided in LLMEndpoint
displayName: Model Name
path: modelName
- description: Configmap name containing a CA Certificates bundle
displayName: TLS CA Certificate Bundle
path: tlsCACertBundle
version: v1beta1
description: |-
OpenStack Lightspeed is a generative AI-based virtual assistant for Red Hat OpenStack Services on OpenShift (RHOSO) users which integrates into the OpenShift Lightspeed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ spec:
type: string
llmCredentials:
description: |-
Secret name containing API token for the LLMEndpoint. The key for the field
in the secret that holds the token should be "apitoken".
Secret name containing API token for the LLMEndpoint. The secret must contain
a field named "apitoken" which holds the token value.
type: string
llmDeploymentName:
description: Deployment name for LLM providers that require it (e.g.,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,23 @@ spec:
name: cluster
version: v1alpha1
specDescriptors:
- description: |-
Secret name containing API token for the LLMEndpoint. The secret must contain
a field named "apitoken" which holds the token value.
displayName: LLM Credentials Secret
path: llmCredentials
- description: URL pointing to the LLM
displayName: LLM Endpoint
path: llmEndpoint
- description: Type of the provider serving the LLM
displayName: Provider Type
path: llmEndpointType
- description: Name of the model to use at the API endpoint provided in LLMEndpoint
displayName: Model Name
path: modelName
- description: Configmap name containing a CA Certificates bundle
displayName: TLS CA Certificate Bundle
path: tlsCACertBundle
version: v1beta1
description: |-
OpenStack Lightspeed is a generative AI-based virtual assistant for Red Hat OpenStack Services on OpenShift (RHOSO) users which integrates into the OpenShift Lightspeed.
Expand Down
Loading