From b46ea0382faf23d854bd39ac862e4f14a6693a5c Mon Sep 17 00:00:00 2001 From: Jakub Drobena Date: Thu, 2 Jul 2026 14:57:57 +0200 Subject: [PATCH] Rename "Insights Advisor" to "Red Hat Lightspeed Advisor" in API docs --- insights/v1/types_insights.go | 2 +- .../0000_10_insights_01_datagathers.crd.yaml | 2 +- .../InsightsOnDemandDataGather.yaml | 2 +- insights/v1/zz_generated.swagger_doc_generated.go | 2 +- insights/v1alpha1/types_insights.go | 4 ++-- .../0000_10_insights_01_datagathers.crd.yaml | 4 ++-- .../InsightsOnDemandDataGather.yaml | 4 ++-- .../v1alpha1/zz_generated.swagger_doc_generated.go | 4 ++-- insights/v1alpha2/types_insights.go | 2 +- .../0000_10_insights_01_datagathers.crd.yaml | 2 +- .../InsightsOnDemandDataGather.yaml | 2 +- .../v1alpha2/zz_generated.swagger_doc_generated.go | 2 +- openapi/generated_openapi/zz_generated.openapi.go | 12 ++++++------ operator/v1/types_insights.go | 4 ++-- .../0000_50_insights_00_insightsoperators.crd.yaml | 6 +++--- .../AAA_ungated.yaml | 6 +++--- operator/v1/zz_generated.swagger_doc_generated.go | 4 ++-- .../crds/0000_10_insights_01_datagathers.crd.yaml | 2 +- 18 files changed, 33 insertions(+), 33 deletions(-) diff --git a/insights/v1/types_insights.go b/insights/v1/types_insights.go index 2ed5b67e631..e647f69dde0 100644 --- a/insights/v1/types_insights.go +++ b/insights/v1/types_insights.go @@ -369,7 +369,7 @@ type HealthCheck struct { // The value represents the severity of the issue. // +required TotalRisk TotalRisk `json:"totalRisk,omitempty"` - // advisorURI is required field that provides the URL link to the Insights Advisor. + // advisorURI is required field that provides the URL link to the Red Hat Lightspeed Advisor. // The link must be a valid HTTPS URL and the maximum length is 2048 characters. // +kubebuilder:validation:XValidation:rule=`isURL(self) && url(self).getScheme() == "https"`,message=`advisorURI must be a valid HTTPS URL (e.g., https://example.com)` // +kubebuilder:validation:MinLength=1 diff --git a/insights/v1/zz_generated.crd-manifests/0000_10_insights_01_datagathers.crd.yaml b/insights/v1/zz_generated.crd-manifests/0000_10_insights_01_datagathers.crd.yaml index 5b8241c7471..7ec7b123b01 100644 --- a/insights/v1/zz_generated.crd-manifests/0000_10_insights_01_datagathers.crd.yaml +++ b/insights/v1/zz_generated.crd-manifests/0000_10_insights_01_datagathers.crd.yaml @@ -463,7 +463,7 @@ spec: properties: advisorURI: description: |- - advisorURI is required field that provides the URL link to the Insights Advisor. + advisorURI is required field that provides the URL link to the Red Hat Lightspeed Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters. maxLength: 2048 minLength: 1 diff --git a/insights/v1/zz_generated.featuregated-crd-manifests/datagathers.insights.openshift.io/InsightsOnDemandDataGather.yaml b/insights/v1/zz_generated.featuregated-crd-manifests/datagathers.insights.openshift.io/InsightsOnDemandDataGather.yaml index 7bd6ab4b3bc..527a629896b 100644 --- a/insights/v1/zz_generated.featuregated-crd-manifests/datagathers.insights.openshift.io/InsightsOnDemandDataGather.yaml +++ b/insights/v1/zz_generated.featuregated-crd-manifests/datagathers.insights.openshift.io/InsightsOnDemandDataGather.yaml @@ -464,7 +464,7 @@ spec: properties: advisorURI: description: |- - advisorURI is required field that provides the URL link to the Insights Advisor. + advisorURI is required field that provides the URL link to the Red Hat Lightspeed Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters. maxLength: 2048 minLength: 1 diff --git a/insights/v1/zz_generated.swagger_doc_generated.go b/insights/v1/zz_generated.swagger_doc_generated.go index 6df2032779e..2650ea5e327 100644 --- a/insights/v1/zz_generated.swagger_doc_generated.go +++ b/insights/v1/zz_generated.swagger_doc_generated.go @@ -102,7 +102,7 @@ var map_HealthCheck = map[string]string{ "": "HealthCheck represents an Insights health check attributes.", "description": "description is required field that provides basic description of the healthcheck. It must contain at least 10 characters and may not exceed 2048 characters.", "totalRisk": "totalRisk is the required field of the healthcheck. It is indicator of the total risk posed by the detected issue; combination of impact and likelihood. Allowed values are Low, Moderate, Important and Critical. The value represents the severity of the issue.", - "advisorURI": "advisorURI is required field that provides the URL link to the Insights Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters.", + "advisorURI": "advisorURI is required field that provides the URL link to the Red Hat Lightspeed Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters.", } func (HealthCheck) SwaggerDoc() map[string]string { diff --git a/insights/v1alpha1/types_insights.go b/insights/v1alpha1/types_insights.go index 49b14f11939..1f3fc5f6a41 100644 --- a/insights/v1alpha1/types_insights.go +++ b/insights/v1alpha1/types_insights.go @@ -280,7 +280,7 @@ type HealthCheck struct { // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=4 TotalRisk int32 `json:"totalRisk"` - // advisorURI is required field that provides the URL link to the Insights Advisor. + // advisorURI is required field that provides the URL link to the Red Hat Lightspeed Advisor. // The link must be a valid HTTPS URL and the maximum length is 2048 characters. // +kubebuilder:validation:XValidation:rule=`isURL(self) && url(self).getScheme() == "https"`,message=`advisorURI must be a valid HTTPS URL (e.g., https://example.com)` // +kubebuilder:validation:MaxLength=2048 @@ -288,7 +288,7 @@ type HealthCheck struct { AdvisorURI string `json:"advisorURI"` // state determines what the current state of the health check is. // Health check is enabled by default and can be disabled - // by the user in the Insights advisor user interface. + // by the user in the Red Hat Lightspeed Advisor user interface. // +required State HealthCheckState `json:"state"` } diff --git a/insights/v1alpha1/zz_generated.crd-manifests/0000_10_insights_01_datagathers.crd.yaml b/insights/v1alpha1/zz_generated.crd-manifests/0000_10_insights_01_datagathers.crd.yaml index 26b8e5c232f..b6999c3808b 100644 --- a/insights/v1alpha1/zz_generated.crd-manifests/0000_10_insights_01_datagathers.crd.yaml +++ b/insights/v1alpha1/zz_generated.crd-manifests/0000_10_insights_01_datagathers.crd.yaml @@ -385,7 +385,7 @@ spec: properties: advisorURI: description: |- - advisorURI is required field that provides the URL link to the Insights Advisor. + advisorURI is required field that provides the URL link to the Red Hat Lightspeed Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters. maxLength: 2048 type: string @@ -402,7 +402,7 @@ spec: description: |- state determines what the current state of the health check is. Health check is enabled by default and can be disabled - by the user in the Insights advisor user interface. + by the user in the Red Hat Lightspeed Advisor user interface. enum: - Enabled - Disabled diff --git a/insights/v1alpha1/zz_generated.featuregated-crd-manifests/datagathers.insights.openshift.io/InsightsOnDemandDataGather.yaml b/insights/v1alpha1/zz_generated.featuregated-crd-manifests/datagathers.insights.openshift.io/InsightsOnDemandDataGather.yaml index 10a5bfe96f4..6a22da9b0ba 100644 --- a/insights/v1alpha1/zz_generated.featuregated-crd-manifests/datagathers.insights.openshift.io/InsightsOnDemandDataGather.yaml +++ b/insights/v1alpha1/zz_generated.featuregated-crd-manifests/datagathers.insights.openshift.io/InsightsOnDemandDataGather.yaml @@ -386,7 +386,7 @@ spec: properties: advisorURI: description: |- - advisorURI is required field that provides the URL link to the Insights Advisor. + advisorURI is required field that provides the URL link to the Red Hat Lightspeed Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters. maxLength: 2048 type: string @@ -403,7 +403,7 @@ spec: description: |- state determines what the current state of the health check is. Health check is enabled by default and can be disabled - by the user in the Insights advisor user interface. + by the user in the Red Hat Lightspeed Advisor user interface. enum: - Enabled - Disabled diff --git a/insights/v1alpha1/zz_generated.swagger_doc_generated.go b/insights/v1alpha1/zz_generated.swagger_doc_generated.go index 45f77b10702..bb1705b5222 100644 --- a/insights/v1alpha1/zz_generated.swagger_doc_generated.go +++ b/insights/v1alpha1/zz_generated.swagger_doc_generated.go @@ -84,8 +84,8 @@ var map_HealthCheck = map[string]string{ "": "healthCheck represents an Insights health check attributes.", "description": "description provides basic description of the healtcheck.", "totalRisk": "totalRisk of the healthcheck. Indicator of the total risk posed by the detected issue; combination of impact and likelihood. The values can be from 1 to 4, and the higher the number, the more important the issue.", - "advisorURI": "advisorURI is required field that provides the URL link to the Insights Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters.", - "state": "state determines what the current state of the health check is. Health check is enabled by default and can be disabled by the user in the Insights advisor user interface.", + "advisorURI": "advisorURI is required field that provides the URL link to the Red Hat Lightspeed Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters.", + "state": "state determines what the current state of the health check is. Health check is enabled by default and can be disabled by the user in the Red Hat Lightspeed Advisor user interface.", } func (HealthCheck) SwaggerDoc() map[string]string { diff --git a/insights/v1alpha2/types_insights.go b/insights/v1alpha2/types_insights.go index a8415995168..bb5d71b4662 100644 --- a/insights/v1alpha2/types_insights.go +++ b/insights/v1alpha2/types_insights.go @@ -355,7 +355,7 @@ type HealthCheck struct { // The value represents the severity of the issue. // +required TotalRisk TotalRisk `json:"totalRisk"` - // advisorURI is required field that provides the URL link to the Insights Advisor. + // advisorURI is required field that provides the URL link to the Red Hat Lightspeed Advisor. // The link must be a valid HTTPS URL and the maximum length is 2048 characters. // +kubebuilder:validation:XValidation:rule=`isURL(self) && url(self).getScheme() == "https"`,message=`advisorURI must be a valid HTTPS URL (e.g., https://example.com)` // +kubebuilder:validation:MaxLength=2048 diff --git a/insights/v1alpha2/zz_generated.crd-manifests/0000_10_insights_01_datagathers.crd.yaml b/insights/v1alpha2/zz_generated.crd-manifests/0000_10_insights_01_datagathers.crd.yaml index 0058e2dddcc..57a91e204b6 100644 --- a/insights/v1alpha2/zz_generated.crd-manifests/0000_10_insights_01_datagathers.crd.yaml +++ b/insights/v1alpha2/zz_generated.crd-manifests/0000_10_insights_01_datagathers.crd.yaml @@ -450,7 +450,7 @@ spec: properties: advisorURI: description: |- - advisorURI is required field that provides the URL link to the Insights Advisor. + advisorURI is required field that provides the URL link to the Red Hat Lightspeed Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters. maxLength: 2048 type: string diff --git a/insights/v1alpha2/zz_generated.featuregated-crd-manifests/datagathers.insights.openshift.io/InsightsOnDemandDataGather.yaml b/insights/v1alpha2/zz_generated.featuregated-crd-manifests/datagathers.insights.openshift.io/InsightsOnDemandDataGather.yaml index cf79e348ab7..3f86fa2129c 100644 --- a/insights/v1alpha2/zz_generated.featuregated-crd-manifests/datagathers.insights.openshift.io/InsightsOnDemandDataGather.yaml +++ b/insights/v1alpha2/zz_generated.featuregated-crd-manifests/datagathers.insights.openshift.io/InsightsOnDemandDataGather.yaml @@ -451,7 +451,7 @@ spec: properties: advisorURI: description: |- - advisorURI is required field that provides the URL link to the Insights Advisor. + advisorURI is required field that provides the URL link to the Red Hat Lightspeed Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters. maxLength: 2048 type: string diff --git a/insights/v1alpha2/zz_generated.swagger_doc_generated.go b/insights/v1alpha2/zz_generated.swagger_doc_generated.go index 8cea2577ab7..a17d71fc9d4 100644 --- a/insights/v1alpha2/zz_generated.swagger_doc_generated.go +++ b/insights/v1alpha2/zz_generated.swagger_doc_generated.go @@ -102,7 +102,7 @@ var map_HealthCheck = map[string]string{ "": "healthCheck represents an Insights health check attributes.", "description": "description is required field that provides basic description of the healtcheck. It must contain at least 10 characters and may not exceed 2048 characters.", "totalRisk": "totalRisk is the required field of the healthcheck. It is indicator of the total risk posed by the detected issue; combination of impact and likelihood. Allowed values are Low, Medium, Important and Critical. The value represents the severity of the issue.", - "advisorURI": "advisorURI is required field that provides the URL link to the Insights Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters.", + "advisorURI": "advisorURI is required field that provides the URL link to the Red Hat Lightspeed Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters.", } func (HealthCheck) SwaggerDoc() map[string]string { diff --git a/openapi/generated_openapi/zz_generated.openapi.go b/openapi/generated_openapi/zz_generated.openapi.go index c6756b38262..8b2da3008b0 100644 --- a/openapi/generated_openapi/zz_generated.openapi.go +++ b/openapi/generated_openapi/zz_generated.openapi.go @@ -34104,7 +34104,7 @@ func schema_openshift_api_insights_v1_HealthCheck(ref common.ReferenceCallback) }, "advisorURI": { SchemaProps: spec.SchemaProps{ - Description: "advisorURI is required field that provides the URL link to the Insights Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters.", + Description: "advisorURI is required field that provides the URL link to the Red Hat Lightspeed Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters.", Type: []string{"string"}, Format: "", }, @@ -34683,7 +34683,7 @@ func schema_openshift_api_insights_v1alpha1_HealthCheck(ref common.ReferenceCall }, "advisorURI": { SchemaProps: spec.SchemaProps{ - Description: "advisorURI is required field that provides the URL link to the Insights Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters.", + Description: "advisorURI is required field that provides the URL link to the Red Hat Lightspeed Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters.", Default: "", Type: []string{"string"}, Format: "", @@ -34691,7 +34691,7 @@ func schema_openshift_api_insights_v1alpha1_HealthCheck(ref common.ReferenceCall }, "state": { SchemaProps: spec.SchemaProps{ - Description: "state determines what the current state of the health check is. Health check is enabled by default and can be disabled by the user in the Insights advisor user interface.", + Description: "state determines what the current state of the health check is. Health check is enabled by default and can be disabled by the user in the Red Hat Lightspeed Advisor user interface.", Default: "", Type: []string{"string"}, Format: "", @@ -35329,7 +35329,7 @@ func schema_openshift_api_insights_v1alpha2_HealthCheck(ref common.ReferenceCall }, "advisorURI": { SchemaProps: spec.SchemaProps{ - Description: "advisorURI is required field that provides the URL link to the Insights Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters.", + Description: "advisorURI is required field that provides the URL link to the Red Hat Lightspeed Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters.", Default: "", Type: []string{"string"}, Format: "", @@ -56815,7 +56815,7 @@ func schema_openshift_api_operator_v1_HealthCheck(ref common.ReferenceCallback) }, "advisorURI": { SchemaProps: spec.SchemaProps{ - Description: "advisorURI provides the URL link to the Insights Advisor.", + Description: "advisorURI provides the URL link to the Red Hat Lightspeed Advisor.", Default: "", Type: []string{"string"}, Format: "", @@ -56823,7 +56823,7 @@ func schema_openshift_api_operator_v1_HealthCheck(ref common.ReferenceCallback) }, "state": { SchemaProps: spec.SchemaProps{ - Description: "state determines what the current state of the health check is. Health check is enabled by default and can be disabled by the user in the Insights advisor user interface.", + Description: "state determines what the current state of the health check is. Health check is enabled by default and can be disabled by the user in the Red Hat Lightspeed Advisor user interface.", Default: "", Type: []string{"string"}, Format: "", diff --git a/operator/v1/types_insights.go b/operator/v1/types_insights.go index ed59bb438b7..1318da26b29 100644 --- a/operator/v1/types_insights.go +++ b/operator/v1/types_insights.go @@ -96,13 +96,13 @@ type HealthCheck struct { // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=4 TotalRisk int32 `json:"totalRisk"` - // advisorURI provides the URL link to the Insights Advisor. + // advisorURI provides the URL link to the Red Hat Lightspeed Advisor. // +required // +kubebuilder:validation:Pattern=`^https:\/\/\S+` AdvisorURI string `json:"advisorURI"` // state determines what the current state of the health check is. // Health check is enabled by default and can be disabled - // by the user in the Insights advisor user interface. + // by the user in the Red Hat Lightspeed Advisor user interface. // +required State HealthCheckState `json:"state"` } diff --git a/operator/v1/zz_generated.crd-manifests/0000_50_insights_00_insightsoperators.crd.yaml b/operator/v1/zz_generated.crd-manifests/0000_50_insights_00_insightsoperators.crd.yaml index 0beb83b1904..5856c85d612 100644 --- a/operator/v1/zz_generated.crd-manifests/0000_50_insights_00_insightsoperators.crd.yaml +++ b/operator/v1/zz_generated.crd-manifests/0000_50_insights_00_insightsoperators.crd.yaml @@ -307,8 +307,8 @@ spec: attributes. properties: advisorURI: - description: advisorURI provides the URL link to the Insights - Advisor. + description: advisorURI provides the URL link to the Red + Hat Lightspeed Advisor. pattern: ^https:\/\/\S+ type: string description: @@ -321,7 +321,7 @@ spec: description: |- state determines what the current state of the health check is. Health check is enabled by default and can be disabled - by the user in the Insights advisor user interface. + by the user in the Red Hat Lightspeed Advisor user interface. enum: - Enabled - Disabled diff --git a/operator/v1/zz_generated.featuregated-crd-manifests/insightsoperators.operator.openshift.io/AAA_ungated.yaml b/operator/v1/zz_generated.featuregated-crd-manifests/insightsoperators.operator.openshift.io/AAA_ungated.yaml index d6c01d355a6..21c7612fc1a 100644 --- a/operator/v1/zz_generated.featuregated-crd-manifests/insightsoperators.operator.openshift.io/AAA_ungated.yaml +++ b/operator/v1/zz_generated.featuregated-crd-manifests/insightsoperators.operator.openshift.io/AAA_ungated.yaml @@ -308,8 +308,8 @@ spec: attributes. properties: advisorURI: - description: advisorURI provides the URL link to the Insights - Advisor. + description: advisorURI provides the URL link to the Red + Hat Lightspeed Advisor. pattern: ^https:\/\/\S+ type: string description: @@ -322,7 +322,7 @@ spec: description: |- state determines what the current state of the health check is. Health check is enabled by default and can be disabled - by the user in the Insights advisor user interface. + by the user in the Red Hat Lightspeed Advisor user interface. enum: - Enabled - Disabled diff --git a/operator/v1/zz_generated.swagger_doc_generated.go b/operator/v1/zz_generated.swagger_doc_generated.go index a79189ffc20..258b22385ed 100644 --- a/operator/v1/zz_generated.swagger_doc_generated.go +++ b/operator/v1/zz_generated.swagger_doc_generated.go @@ -1310,8 +1310,8 @@ var map_HealthCheck = map[string]string{ "": "healthCheck represents an Insights health check attributes.", "description": "description provides basic description of the healtcheck.", "totalRisk": "totalRisk of the healthcheck. Indicator of the total risk posed by the detected issue; combination of impact and likelihood. The values can be from 1 to 4, and the higher the number, the more important the issue.", - "advisorURI": "advisorURI provides the URL link to the Insights Advisor.", - "state": "state determines what the current state of the health check is. Health check is enabled by default and can be disabled by the user in the Insights advisor user interface.", + "advisorURI": "advisorURI provides the URL link to the Red Hat Lightspeed Advisor.", + "state": "state determines what the current state of the health check is. Health check is enabled by default and can be disabled by the user in the Red Hat Lightspeed Advisor user interface.", } func (HealthCheck) SwaggerDoc() map[string]string { diff --git a/payload-manifests/crds/0000_10_insights_01_datagathers.crd.yaml b/payload-manifests/crds/0000_10_insights_01_datagathers.crd.yaml index 5b8241c7471..7ec7b123b01 100644 --- a/payload-manifests/crds/0000_10_insights_01_datagathers.crd.yaml +++ b/payload-manifests/crds/0000_10_insights_01_datagathers.crd.yaml @@ -463,7 +463,7 @@ spec: properties: advisorURI: description: |- - advisorURI is required field that provides the URL link to the Insights Advisor. + advisorURI is required field that provides the URL link to the Red Hat Lightspeed Advisor. The link must be a valid HTTPS URL and the maximum length is 2048 characters. maxLength: 2048 minLength: 1