11/*
22Copyright 2025.
3+
34Licensed under the Apache License, Version 2.0 (the "License");
45you may not use this file except in compliance with the License.
56You may obtain a copy of the License at
7+
68 http://www.apache.org/licenses/LICENSE-2.0
9+
710Unless required by applicable law or agreed to in writing, software
811distributed under the License is distributed on an "AS IS" BASIS,
912WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -23,12 +26,15 @@ const (
2326 // is configured and operational
2427 OpenStackLightspeedReadyCondition condition.Type = "OpenStackLightspeedReady"
2528
26- // OpenShift Lightspeed Operator Status=True condition which indicates if OpenShift Lightspeed is installed and
27- // operational and it can be used by OpenStack Lihgtspeed operator.
29+ // OpenShiftLightspeedOperatorReadyCondition Status=True condition which indicates if OpenShift Lightspeed is installed and
30+ // operational and it can be used by OpenStack Lightspeed operator.
2831 OpenShiftLightspeedOperatorReadyCondition condition.Type = "OpenShiftLightspeedOperatorReady"
2932
30- // OCPVersionCondition Status=True condition which indicates OCP version detection and resolution
31- OCPVersionCondition condition.Type = "OCPVersionResolved"
33+ // OCPRAGCondition Status=True condition which indicates the OCP RAG version resolution status
34+ OCPRAGCondition condition.Type = "OCPRAGReady"
35+
36+ // OCPVersionCondition - DEPRECATED: Use OCPRAGCondition instead (keeping for backward compatibility)
37+ OCPVersionCondition condition.Type = "OCPRAGReady"
3238)
3339
3440// Common Messages used by API objects.
@@ -45,18 +51,27 @@ const (
4551 // OpenShiftLightspeedOperatorWaiting
4652 OpenShiftLightspeedOperatorWaiting = "Waiting for the OpenShift Lightspeed operator to deploy."
4753
48- // OpenShiftLigthspeedOperatorReady
54+ // OpenShiftLightspeedOperatorReady
4955 OpenShiftLightspeedOperatorReady = "OpenShift Lightspeed operator is ready."
5056
51- // OCPVersionDetected message when OCP version is detected and resolved successfully
52- OCPVersionDetected = "OCP version detected and resolved successfully "
57+ // OCPRAGDisabledMessage
58+ OCPRAGDisabledMessage = "OCP RAG is disabled "
5359
54- // OCPVersionFallback message when using 'latest' OCP documentation as fallback
55- OCPVersionFallback = "Using 'latest' OCP documentation as fallback for unsupported cluster version "
60+ // OCPRAGVersionResolvedMessage
61+ OCPRAGVersionResolvedMessage = "OCP RAG version resolved: %s "
5662
57- // OCPVersionOverrideInvalid message when OCP version override is invalid
58- OCPVersionOverrideInvalid = "OCP version override is invalid "
63+ // OCPRAGVersionFallbackMessage
64+ OCPRAGVersionFallbackMessage = "Cluster version %s is not explicitly supported. Using 'latest' OCP documentation. Supported versions: %v "
5965
60- // OCPVersionDetectionFailed message when OCP version detection fails
66+ // OCPRAGDetectionFailedMessage
67+ OCPRAGDetectionFailedMessage = "Failed to detect OCP cluster version"
68+
69+ // OCPRAGOverrideInvalidMessage
70+ OCPRAGOverrideInvalidMessage = "Invalid OCP RAG version override"
71+
72+ // OCPVersionDetectionFailed - DEPRECATED: Use OCPRAGDetectionFailedMessage
6173 OCPVersionDetectionFailed = "Failed to detect OCP cluster version"
74+
75+ // OCPVersionOverrideInvalid - DEPRECATED: Use OCPRAGOverrideInvalidMessage
76+ OCPVersionOverrideInvalid = "Invalid OCP RAG version override"
6277)
0 commit comments