Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -384,10 +384,10 @@
"Compatible": "Compatible",
"Incompatible": "Incompatible",
"No data available": "No data available",
"May not reflect your actual SKU. Check your actual SKU for extended support.": "May not reflect your actual SKU. Check your actual SKU for extended support.",
"OpenShift Operator life cycle": "OpenShift Operator life cycle",
"OpenShift life cycle ({{version}})": "OpenShift life cycle ({{version}})",
"Red Hat product life cycles": "Red Hat product life cycles",
"This might not reflect your actual SKU. Check your subscription for extended support options.": "This might not reflect your actual SKU. Check your subscription for extended support options.",
"OpenShift Operator lifecycle": "OpenShift Operator lifecycle",
"OpenShift lifecycle ({{version}})": "OpenShift lifecycle ({{version}})",
"Red Hat product lifecycles": "Red Hat product lifecycles",
"Lifecycle dates": "Lifecycle dates",
"Self-support": "Self-support",
"No PackageManifests Found": "No PackageManifests Found",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,13 @@ const LifecycleDatesFooter: FC = () => {
<>
<hr className="pf-v6-u-mb-sm pf-v6-u-mt-0" />
<span className="pf-v6-u-color-200">
{t('May not reflect your actual SKU. Check your actual SKU for extended support.')}
{t(
'This might not reflect your actual SKU. Check your subscription for extended support options.',
)}
</span>
<div className="pf-v6-u-mt-sm">
<ExternalLink href="https://access.redhat.com/support/policy/updates/openshift_operators/lifecycle">
{t('OpenShift Operator life cycle')}
{t('OpenShift Operator lifecycle')}
</ExternalLink>
</div>
{clusterMinor && (
Expand All @@ -198,13 +200,13 @@ const LifecycleDatesFooter: FC = () => {
'',
)}`}
>
{t('OpenShift life cycle ({{version}})', { version: clusterMinor })}
{t('OpenShift lifecycle ({{version}})', { version: clusterMinor })}
</ExternalLink>
</div>
)}
<div>
<ExternalLink href="https://access.redhat.com/product-life-cycles">
{t('Red Hat product life cycles')}
{t('Red Hat product lifecycles')}
</ExternalLink>
</div>
</>
Expand Down
4 changes: 2 additions & 2 deletions pkg/olm/lifecycle.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (o *OLMHandler) lifecycleHandler(w http.ResponseWriter, r *http.Request) {
conn, err := grpc.NewClient(target, grpc.WithTransportCredentials(insecure.NewCredentials()))
if err != nil {
klog.Errorf("[lifecycle] Failed to create gRPC client for %s: %v", target, err)
serverutils.SendResponse(w, http.StatusInternalServerError, serverutils.ApiError{Err: "Failed to connect to the catalog source."})
serverutils.SendResponse(w, http.StatusInternalServerError, serverutils.ApiError{Err: "Could not connect to the catalog source."})
return
}
defer conn.Close()
Expand Down Expand Up @@ -127,7 +127,7 @@ func handleGRPCError(w http.ResponseWriter, catalogName, packageName string, err
switch st.Code() {
case codes.Unimplemented:
klog.Infof("[lifecycle] ExperimentalListPackageCustomSchemas not supported by catalog %s", catalogName)
serverutils.SendResponse(w, http.StatusServiceUnavailable, serverutils.ApiError{Err: "Lifecycle metadata is not available for this catalog."})
serverutils.SendResponse(w, http.StatusServiceUnavailable, serverutils.ApiError{Err: "The lifecycle metadata is unavailable for this catalog."})
case codes.Unavailable:
klog.Infof("[lifecycle] CatalogSource %s gRPC unavailable: %v", catalogName, st.Message())
serverutils.SendResponse(w, http.StatusServiceUnavailable, serverutils.ApiError{Err: "The catalog source is unavailable. Try again later."})
Expand Down