Skip to content
Draft
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
2 changes: 1 addition & 1 deletion insights/v1/types_insights.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion insights/v1/zz_generated.swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions insights/v1alpha1/types_insights.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,15 +280,15 @@ 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
// +required
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"`
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions insights/v1alpha1/zz_generated.swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion insights/v1alpha2/types_insights.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion insights/v1alpha2/zz_generated.swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions openapi/generated_openapi/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions operator/v1/types_insights.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions operator/v1/zz_generated.swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down