Skip to content

Commit d0106ae

Browse files
committed
fix: verify check
Signed-off-by: Ondrej Pokorny <[email protected]>
1 parent 225b75d commit d0106ae

File tree

6 files changed

+20
-4
lines changed

6 files changed

+20
-4
lines changed

config/v1alpha1/types_insights.go

+2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ type GatherConfig struct {
6868
StorageSpec *StorageSpec `json:"storageSpec,omitempty"`
6969
}
7070

71+
// storageSpec provides persistent storage configuration options for on-demand gathering jobs.
7172
type StorageSpec struct {
7273
// persistentVolumeClaim is required field that specifies the name of the PersistentVolumeClaim that will
7374
// be used to store the Insights data archive. The PersistentVolumeClaim must be created in the openshift-insights namespace.
@@ -83,6 +84,7 @@ type StorageSpec struct {
8384
MountPath string `json:"mountPath,omitempty"`
8485
}
8586

87+
// persistentVolumeClaimReference is a reference to a PersistentVolumeClaim.
8688
type PersistentVolumeClaimReference struct {
8789
// name is a string that follows the DNS1123 subdomain format.
8890
// +kubebuilder:validation:XValidation:rule="!format.dns1123Subdomain().validate(self).hasValue()",message="a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character."

config/v1alpha1/zz_generated.swagger_doc_generated.go

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

insights/v1alpha1/types_insights.go

+2
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ type DataGatherSpec struct {
5959
StorageSpec *StorageSpec `json:"storageSpec,omitempty"`
6060
}
6161

62+
// storageSpec provides persistent storage configuration options for on-demand gathering jobs.
6263
type StorageSpec struct {
6364
// persistentVolumeClaim is required field that specifies the name of the PersistentVolumeClaim that will
6465
// be used to store the Insights data archive. The PersistentVolumeClaim must be created in the openshift-insights namespace.
@@ -74,6 +75,7 @@ type StorageSpec struct {
7475
MountPath string `json:"mountPath,omitempty"`
7576
}
7677

78+
// persistentVolumeClaimReference is a reference to a PersistentVolumeClaim.
7779
type PersistentVolumeClaimReference struct {
7880
// name is a string that follows the DNS1123 subdomain format.
7981
// +kubebuilder:validation:XValidation:rule="!format.dns1123Subdomain().validate(self).hasValue()",message="a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character."

insights/v1alpha1/zz_generated.swagger_doc_generated.go

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi/generated_openapi/zz_generated.openapi.go

+8-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi/openapi.json

+4
Original file line numberDiff line numberDiff line change
@@ -11471,6 +11471,7 @@
1147111471
"type": "object"
1147211472
},
1147311473
"com.github.openshift.api.config.v1alpha1.PersistentVolumeClaimReference": {
11474+
"description": "persistentVolumeClaimReference is a reference to a PersistentVolumeClaim.",
1147411475
"type": "object",
1147511476
"required": [
1147611477
"name"
@@ -11699,6 +11700,7 @@
1169911700
}
1170011701
},
1170111702
"com.github.openshift.api.config.v1alpha1.StorageSpec": {
11703+
"description": "storageSpec provides persistent storage configuration options for on-demand gathering jobs.",
1170211704
"type": "object",
1170311705
"required": [
1170411706
"persistentVolumeClaim"
@@ -14974,6 +14976,7 @@
1497414976
}
1497514977
},
1497614978
"com.github.openshift.api.insights.v1alpha1.PersistentVolumeClaimReference": {
14979+
"description": "persistentVolumeClaimReference is a reference to a PersistentVolumeClaim.",
1497714980
"type": "object",
1497814981
"required": [
1497914982
"name"
@@ -14987,6 +14990,7 @@
1498714990
}
1498814991
},
1498914992
"com.github.openshift.api.insights.v1alpha1.StorageSpec": {
14993+
"description": "storageSpec provides persistent storage configuration options for on-demand gathering jobs.",
1499014994
"type": "object",
1499114995
"required": [
1499214996
"persistentVolumeClaim"

0 commit comments

Comments
 (0)