# Functions
This is copied from https://github.com/kubernetes/kubernetes/blob/v1.29.2/pkg/apis/apps/v1/defaults.go#L38 to avoid importing the whole k8s.io/kubernetes package.
# Constants
AdditionalCAHashKey is the key of the hash value of the additional CA certificates in the deployment annotations.
AdditionalCAHashStateCacheKey is the key of the hash value of the additional CA certificates in the state cache.
AdditionalCAVolumeName is the name of the volume for additional CA certificates provided by the user.
#nosec G101.
AppAdditionalCACertDir is the directory for storing additional CA certificates in the app server container under OLSAppCertsMountRoot.
AppServerMetricsPath is the path of the metrics endpoint of the OLS application server.
AppServerPrometheusRuleName is the name of the prometheus rules for the OLS application server.
AppServerServiceMonitorName is the name of the service monitor for the OLS application server.
AzureOpenAIType is the name of the Azure OpenAI provider type.
CertBundleDir is the path of the volume for the certificate bundle.
CertBundleVolumeName is the name of the volume for the certificate bundle.
ClientCACertKey is the key of the client CA certificate in the configmap.
ClientCACmName is the name of the client CA configmap.
ClientCACmNamespace is the namespace of the client CA configmap.
ConsoleCRName is the name of the console custom resource.
ConsoleProxyAlias is the alias of the console proxy The console backend exposes following proxy endpoint: /api/proxy/plugin/<plugin-name>/<proxy-alias>/<request-path>?<optional-query-parameters>.
** console UI plugin ***/ ConsoleUIConfigMapName is the name of the console UI nginx configmap.
ConsoleUIDeploymentName is the name of the console UI deployment.
ConsoleUIHTTPSPort is the port number of the console UI service.
ConsoleUIImage is the image of the console UI plugin.
ConsoleUIPluginDisplayName is the display name of the console UI plugin.
ConsoleUIPluginName is the name of the console UI plugin.
ConsoleUIServiceCertSecretName is the name of the console UI service certificate secret.
ConsoleUIServiceName is the name of the console UI service.
CredentialsMountRoot is the directory hosting the credential files in the container.
DefaultReconcileInterval is the default interval for reconciliation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
#nosec G101.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
#nosec G101.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LLMProviderHashKey is the key of the hash value of OLS LLM provider credentials consolidated #nosec G101.
LLMProviderHashStateCacheKey is the key of the hash value of OLS LLM provider credentials consolidated.
OLSAppCertsMountRoot is the directory hosting the cert files in the container.
OLSAppServerContainerPort is the port number of the lightspeed-service-api container exposes.
OLSAppServerDeploymentName is the name of the OLS application server deployment.
Image of the OLS application server todo: image vesion should synchronize with the release version of the lightspeed-service-api image.
OLSAppServerSARRoleBindingName is the name of the SAR role binding for the service account running the application server.
OLSAppServerSARRoleName is the name of the SAR role for the service account running the application server.
OLSAppServerServiceAccountName is the name of service account running the application server.
OLSAppServerServiceName is the name of the OLS application server service.
OLSAppServerServicePort is the port number for OLS application server service.
OLSAppTLSHashKey is the key of the hash value of the OLS App TLS certificates.
** state cache keys ***/ OLSAppTLSHashStateCacheKey is the key of the hash value of the OLS App TLS certificates.
#nosec G101.
OLSComponentPasswordFileName is the generic name of the password file for each of its components.
** application server configuration file ***/ OLSConfigName is the name of the OLSConfig configmap.
OLSConfigFilename is the name of the application server configuration file.
Image of the OLS application redis server OLSConfigHashKey is the key of the hash value of the OLSConfig configmap.
OLSConfigHashStateCacheKey is the key of the hash value of the OLSConfig configmap.
** Operator Settings ***/ OLSConfigName is the name of the OLSConfig Custom Resource.
OLSConsoleTLSHashKey is the key of the hash value of the OLS Console TLS certificates.
OLSConsoleTLSHashStateCacheKey is the key of the hash value of the OLS Console TLS certificates.
OLSNamespaceDefault is the default namespace for OLS.
OperatorCACertPathDefault is the default path to the CA certificate.
OperatorCertDirDefault is the default directory for storing the operator certificate.
OperatorCertNameDefault is the default name of the operator certificate.
OperatorKeyNameDefault is the default name of the operator key.
ResourceCreationTimeout is the maximum time in seconds operator waiting for creating resources.
Annotation key for serving certificate secret name #nosec G101.
TelemetryPullSecretName is the name of the secret containing the telemetry pull secret.
TelemetryPullSecretNamespace "openshift-config" contains the telemetry pull secret to determine the enablement of telemetry #nosec G101.
** watchers ***/.
# Structs
** application server configuration file ***/ root of the app server configuration file.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ModelSpec defines the desired state of in-memory cache.
ModelParameters defines the parameters for a model.
No description provided by the author
OLSConfigReconciler reconciles a OLSConfig object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author