You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// storage is an optional field that allows user to define persistent storage for on-demand gathering
65
-
// jobs to store the Insights data archive.
63
+
// storage is an optional field that allows user to define persistent storage for gathering jobs to store the Insights data archive.
66
64
// If omitted, the gathering job will use ephemeral storage.
67
65
// +optional
68
66
StorageSpec*Storage`json:"storage,omitempty"`
@@ -73,16 +71,15 @@ type GatherConfig struct {
73
71
// +kubebuilder:validation:XValidation:rule=`self.matches("^[a-z]+[_a-z]*[a-z]([/a-z][_a-z]*)?[a-z]$")`,message=`disabledGatherer must be in the format of {gatherer}/{function} where the gatherer and function are lowercase letters only that may include underscores (_) and are separated by a forward slash (/) if the function is provided`
// storage provides persistent storage configuration options for gathering jobs.
77
75
// If the type is set to PersistentVolume, then the PersistentVolume must be defined.
78
76
// If the type is set to Ephemeral, then the PersistentVolume must not be defined.
79
77
// +kubebuilder:validation:XValidation:rule="has(self.type) && self.type == 'PersistentVolume' ? has(self.persistentVolume) : !has(self.persistentVolume)",message="persistentVolume is required when type is PersistentVolume, and forbidden otherwise"
80
78
typeStoragestruct {
81
79
// type is a required field that specifies the type of storage that will be used to store the Insights data archive.
82
80
// Valid values are "PersistentVolume" and "Ephemeral".
83
81
// When set to Ephemeral, the Insights data archive is stored in the ephemeral storage of the gathering job.
84
-
// When set to PersistentVolume, the Insights data archive is stored in the PersistentVolume that is
85
-
// defined by the persistentVolume field.
82
+
// When set to PersistentVolume, the Insights data archive is stored in the PersistentVolume that is defined by the persistentVolume field.
86
83
// +required
87
84
TypeStorageType`json:"type"`
88
85
// persistentVolume is an optional field that specifies the PersistentVolume that will be used to store the Insights data archive.
@@ -104,13 +101,13 @@ const (
104
101
105
102
// persistentVolumeConfig provides configuration options for PersistentVolume storage.
106
103
typePersistentVolumeConfigstruct {
107
-
// claim is a required field that specifies the configuration of the PersistentVolumeClaim that will
108
-
// be used to store the Insights data archive. The PersistentVolumeClaim must be created in the openshift-insights namespace.
104
+
// claim is a required field that specifies the configuration of the Claim that will be used to store the Insights data archive.
105
+
// The Claim must be created in the openshift-insights namespace.
// mountPath is an optional field specifying the directory where the PVC will be mounted inside the
112
-
// Insights data gathering Pod. If omitted, the path that is used to store the Insights data archive by Insights
113
-
// operator will be used instead. The path cannot exceed 1024 characters and must not contain a colon.
107
+
ClaimPersistentVolumeClaimReference`json:"claim"`
108
+
// mountPath is an optional field specifying the directory where the PVC will be mounted inside the Insights data gathering Pod.
109
+
// If omitted, the path that is used to store the Insights data archive by Insights operator will be used instead.
110
+
// The path cannot exceed 1024 characters and must not contain a colon.
114
111
// +kubebuilder:validation:MaxLength=1024
115
112
// +kubebuilder:validation:XValidation:rule="!self.contains(':')",message="mountPath must not contain a colon"
116
113
// +optional
@@ -120,8 +117,7 @@ type PersistentVolumeConfig struct {
120
117
// persistentVolumeClaimReference is a reference to a PersistentVolumeClaim.
121
118
typePersistentVolumeClaimReferencestruct {
122
119
// name is a string that follows the DNS1123 subdomain format.
123
-
// It must be at most 253 characters in length, and must consist only of lower case alphanumeric characters,
124
-
// '-' and '.', and must start and end with an alphanumeric character.
120
+
// It must be at most 253 characters in length, and must consist only of lower case alphanumeric characters, '-' and '.', and must start and end with an alphanumeric character.
125
121
// +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."
Copy file name to clipboardexpand all lines: config/v1alpha1/zz_generated.crd-manifests/0000_10_config-operator_01_insightsdatagathers-CustomNoUpgrade.crd.yaml
+13-16
Original file line number
Diff line number
Diff line change
@@ -46,14 +46,14 @@ spec:
46
46
description: spec holds user settable values for configuration
47
47
properties:
48
48
gatherConfig:
49
-
description: |-
50
-
gatherConfig spec attribute includes all the configuration options related to
51
-
gathering of the Insights data and its uploading to the ingress.
49
+
description: gatherConfig spec attribute includes all the configuration
50
+
options related to gathering of the Insights data and its uploading
51
+
to the ingress.
52
52
properties:
53
53
dataPolicy:
54
54
description: |-
55
-
dataPolicy allows user to enable additional global obfuscation of the IP addresses and base domain
56
-
in the Insights archive data. Valid values are "None" and "ObfuscateNetworking".
55
+
dataPolicy allows user to enable additional global obfuscation of the IP addresses and base domain in the Insights archive data.
56
+
Valid values are "None" and "ObfuscateNetworking".
57
57
When set to None the data is not obfuscated.
58
58
When set to ObfuscateNetworking the IP addresses and the cluster domain name are obfuscated.
59
59
When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time.
@@ -88,8 +88,7 @@ spec:
88
88
type: array
89
89
storage:
90
90
description: |-
91
-
storage is an optional field that allows user to define persistent storage for on-demand gathering
92
-
jobs to store the Insights data archive.
91
+
storage is an optional field that allows user to define persistent storage for gathering jobs to store the Insights data archive.
93
92
If omitted, the gathering job will use ephemeral storage.
94
93
properties:
95
94
persistentVolume:
@@ -99,14 +98,13 @@ spec:
99
98
properties:
100
99
claim:
101
100
description: |-
102
-
claim is a required field that specifies the configuration of the PersistentVolumeClaim that will
103
-
be used to store the Insights data archive. The PersistentVolumeClaim must be created in the openshift-insights namespace.
101
+
claim is a required field that specifies the configuration of the Claim that will be used to store the Insights data archive.
102
+
The Claim must be created in the openshift-insights namespace.
104
103
properties:
105
104
name:
106
105
description: |-
107
106
name is a string that follows the DNS1123 subdomain format.
108
-
It must be at most 253 characters in length, and must consist only of lower case alphanumeric characters,
109
-
'-' and '.', and must start and end with an alphanumeric character.
107
+
It must be at most 253 characters in length, and must consist only of lower case alphanumeric characters, '-' and '.', and must start and end with an alphanumeric character.
110
108
maxLength: 253
111
109
type: string
112
110
x-kubernetes-validations:
@@ -120,9 +118,9 @@ spec:
120
118
type: object
121
119
mountPath:
122
120
description: |-
123
-
mountPath is an optional field specifying the directory where the PVC will be mounted inside the
124
-
Insights data gathering Pod. If omitted, the path that is used to store the Insights data archive by Insights
125
-
operator will be used instead. The path cannot exceed 1024 characters and must not contain a colon.
121
+
mountPath is an optional field specifying the directory where the PVC will be mounted inside the Insights data gathering Pod.
122
+
If omitted, the path that is used to store the Insights data archive by Insights operator will be used instead.
123
+
The path cannot exceed 1024 characters and must not contain a colon.
126
124
maxLength: 1024
127
125
type: string
128
126
x-kubernetes-validations:
@@ -136,8 +134,7 @@ spec:
136
134
type is a required field that specifies the type of storage that will be used to store the Insights data archive.
137
135
Valid values are "PersistentVolume" and "Ephemeral".
138
136
When set to Ephemeral, the Insights data archive is stored in the ephemeral storage of the gathering job.
139
-
When set to PersistentVolume, the Insights data archive is stored in the PersistentVolume that is
140
-
defined by the persistentVolume field.
137
+
When set to PersistentVolume, the Insights data archive is stored in the PersistentVolume that is defined by the persistentVolume field.
Copy file name to clipboardexpand all lines: config/v1alpha1/zz_generated.crd-manifests/0000_10_config-operator_01_insightsdatagathers-DevPreviewNoUpgrade.crd.yaml
+13-16
Original file line number
Diff line number
Diff line change
@@ -46,14 +46,14 @@ spec:
46
46
description: spec holds user settable values for configuration
47
47
properties:
48
48
gatherConfig:
49
-
description: |-
50
-
gatherConfig spec attribute includes all the configuration options related to
51
-
gathering of the Insights data and its uploading to the ingress.
49
+
description: gatherConfig spec attribute includes all the configuration
50
+
options related to gathering of the Insights data and its uploading
51
+
to the ingress.
52
52
properties:
53
53
dataPolicy:
54
54
description: |-
55
-
dataPolicy allows user to enable additional global obfuscation of the IP addresses and base domain
56
-
in the Insights archive data. Valid values are "None" and "ObfuscateNetworking".
55
+
dataPolicy allows user to enable additional global obfuscation of the IP addresses and base domain in the Insights archive data.
56
+
Valid values are "None" and "ObfuscateNetworking".
57
57
When set to None the data is not obfuscated.
58
58
When set to ObfuscateNetworking the IP addresses and the cluster domain name are obfuscated.
59
59
When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time.
@@ -88,8 +88,7 @@ spec:
88
88
type: array
89
89
storage:
90
90
description: |-
91
-
storage is an optional field that allows user to define persistent storage for on-demand gathering
92
-
jobs to store the Insights data archive.
91
+
storage is an optional field that allows user to define persistent storage for gathering jobs to store the Insights data archive.
93
92
If omitted, the gathering job will use ephemeral storage.
94
93
properties:
95
94
persistentVolume:
@@ -99,14 +98,13 @@ spec:
99
98
properties:
100
99
claim:
101
100
description: |-
102
-
claim is a required field that specifies the configuration of the PersistentVolumeClaim that will
103
-
be used to store the Insights data archive. The PersistentVolumeClaim must be created in the openshift-insights namespace.
101
+
claim is a required field that specifies the configuration of the Claim that will be used to store the Insights data archive.
102
+
The Claim must be created in the openshift-insights namespace.
104
103
properties:
105
104
name:
106
105
description: |-
107
106
name is a string that follows the DNS1123 subdomain format.
108
-
It must be at most 253 characters in length, and must consist only of lower case alphanumeric characters,
109
-
'-' and '.', and must start and end with an alphanumeric character.
107
+
It must be at most 253 characters in length, and must consist only of lower case alphanumeric characters, '-' and '.', and must start and end with an alphanumeric character.
110
108
maxLength: 253
111
109
type: string
112
110
x-kubernetes-validations:
@@ -120,9 +118,9 @@ spec:
120
118
type: object
121
119
mountPath:
122
120
description: |-
123
-
mountPath is an optional field specifying the directory where the PVC will be mounted inside the
124
-
Insights data gathering Pod. If omitted, the path that is used to store the Insights data archive by Insights
125
-
operator will be used instead. The path cannot exceed 1024 characters and must not contain a colon.
121
+
mountPath is an optional field specifying the directory where the PVC will be mounted inside the Insights data gathering Pod.
122
+
If omitted, the path that is used to store the Insights data archive by Insights operator will be used instead.
123
+
The path cannot exceed 1024 characters and must not contain a colon.
126
124
maxLength: 1024
127
125
type: string
128
126
x-kubernetes-validations:
@@ -136,8 +134,7 @@ spec:
136
134
type is a required field that specifies the type of storage that will be used to store the Insights data archive.
137
135
Valid values are "PersistentVolume" and "Ephemeral".
138
136
When set to Ephemeral, the Insights data archive is stored in the ephemeral storage of the gathering job.
139
-
When set to PersistentVolume, the Insights data archive is stored in the PersistentVolume that is
140
-
defined by the persistentVolume field.
137
+
When set to PersistentVolume, the Insights data archive is stored in the PersistentVolume that is defined by the persistentVolume field.
0 commit comments