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
// gatherConfig provides data gathering configuration options.
37
+
// GatherConfig provides data gathering configuration options.
38
38
typeGatherConfigstruct {
39
39
// dataPolicy is an optional list of DataPolicyOptions that allows user to enable additional obfuscation of the Insights archive data.
40
40
// It may not exceed 2 items and must not contain duplicates.
@@ -57,11 +57,12 @@ type GatherConfig struct {
57
57
StorageStorage`json:"storage,omitempty,omitzero"`
58
58
}
59
59
60
+
// Gatherers specifies the configuration of the gatherers
60
61
// +kubebuilder:validation:XValidation:rule="has(self.mode) && self.mode == 'Custom' ? has(self.custom) : !has(self.custom)",message="custom is required when mode is Custom, and forbidden otherwise"
61
62
// +union
62
63
typeGatherersstruct {
63
64
// mode is a required field that specifies the mode for gatherers. Allowed values are All, None, and Custom.
64
-
// When set to All, all gatherers wil run and gather data.
65
+
// When set to All, all gatherers will run and gather data.
65
66
// When set to None, all gatherers will be disabled and no data will be gathered.
66
67
// When set to Custom, the custom configuration from the custom field will be applied.
67
68
// +unionDiscriminator
@@ -76,7 +77,7 @@ type Gatherers struct {
76
77
CustomCustom`json:"custom,omitempty,omitzero"`
77
78
}
78
79
79
-
// custom provides the custom configuration of gatherers
80
+
// Custom provides the custom configuration of gatherers
80
81
typeCustomstruct {
81
82
// configs is a required list of gatherers configurations that can be used to enable or disable specific gatherers.
82
83
// It may not exceed 100 items and each gatherer can be present only once.
// storage provides persistent storage configuration options for gathering jobs.
120
+
// Storage provides persistent storage configuration options for gathering jobs.
120
121
// If the type is set to PersistentVolume, then the PersistentVolume must be defined.
121
122
// If the type is set to Ephemeral, then the PersistentVolume must not be defined.
122
123
// +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"
Copy file name to clipboardExpand all lines: config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_insightsdatagathers-CustomNoUpgrade.crd.yaml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ spec:
21
21
schema:
22
22
openAPIV3Schema:
23
23
description: |-
24
-
InsightsDataGather provides data gather configuration options for the the Insights Operator.
24
+
InsightsDataGather provides data gather configuration options for the Insights Operator.
25
25
26
26
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
27
27
properties:
@@ -59,7 +59,7 @@ spec:
59
59
When set to WorkloadNames, the gathered data about cluster resources will not contain the workload names for your deployments. Resources UIDs will be used instead.
60
60
When omitted no obfuscation is applied.
61
61
items:
62
-
description: dataPolicyOption declares valid data policy options
62
+
description: DataPolicyOption declares valid data policy options
63
63
enum:
64
64
- ObfuscateNetworking
65
65
- WorkloadNames
@@ -91,7 +91,7 @@ spec:
91
91
Run the following command to get the names of last active gatherers:
92
92
"oc get insightsoperators.operator.openshift.io cluster -o json | jq '.status.gatherStatus.gatherers[].name'"
93
93
items:
94
-
description: gathererConfig allows to configure specific
94
+
description: GathererConfig allows to configure specific
95
95
gatherers
96
96
properties:
97
97
name:
@@ -139,7 +139,7 @@ spec:
139
139
mode:
140
140
description: |-
141
141
mode is a required field that specifies the mode for gatherers. Allowed values are All, None, and Custom.
142
-
When set to All, all gatherers wil run and gather data.
142
+
When set to All, all gatherers will run and gather data.
143
143
When set to None, all gatherers will be disabled and no data will be gathered.
144
144
When set to Custom, the custom configuration from the custom field will be applied.
Copy file name to clipboardExpand all lines: config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_insightsdatagathers-DevPreviewNoUpgrade.crd.yaml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ spec:
21
21
schema:
22
22
openAPIV3Schema:
23
23
description: |-
24
-
InsightsDataGather provides data gather configuration options for the the Insights Operator.
24
+
InsightsDataGather provides data gather configuration options for the Insights Operator.
25
25
26
26
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
27
27
properties:
@@ -59,7 +59,7 @@ spec:
59
59
When set to WorkloadNames, the gathered data about cluster resources will not contain the workload names for your deployments. Resources UIDs will be used instead.
60
60
When omitted no obfuscation is applied.
61
61
items:
62
-
description: dataPolicyOption declares valid data policy options
62
+
description: DataPolicyOption declares valid data policy options
63
63
enum:
64
64
- ObfuscateNetworking
65
65
- WorkloadNames
@@ -91,7 +91,7 @@ spec:
91
91
Run the following command to get the names of last active gatherers:
92
92
"oc get insightsoperators.operator.openshift.io cluster -o json | jq '.status.gatherStatus.gatherers[].name'"
93
93
items:
94
-
description: gathererConfig allows to configure specific
94
+
description: GathererConfig allows to configure specific
95
95
gatherers
96
96
properties:
97
97
name:
@@ -139,7 +139,7 @@ spec:
139
139
mode:
140
140
description: |-
141
141
mode is a required field that specifies the mode for gatherers. Allowed values are All, None, and Custom.
142
-
When set to All, all gatherers wil run and gather data.
142
+
When set to All, all gatherers will run and gather data.
143
143
When set to None, all gatherers will be disabled and no data will be gathered.
144
144
When set to Custom, the custom configuration from the custom field will be applied.
Copy file name to clipboardExpand all lines: config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_insightsdatagathers-TechPreviewNoUpgrade.crd.yaml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ spec:
21
21
schema:
22
22
openAPIV3Schema:
23
23
description: |-
24
-
InsightsDataGather provides data gather configuration options for the the Insights Operator.
24
+
InsightsDataGather provides data gather configuration options for the Insights Operator.
25
25
26
26
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
27
27
properties:
@@ -59,7 +59,7 @@ spec:
59
59
When set to WorkloadNames, the gathered data about cluster resources will not contain the workload names for your deployments. Resources UIDs will be used instead.
60
60
When omitted no obfuscation is applied.
61
61
items:
62
-
description: dataPolicyOption declares valid data policy options
62
+
description: DataPolicyOption declares valid data policy options
63
63
enum:
64
64
- ObfuscateNetworking
65
65
- WorkloadNames
@@ -91,7 +91,7 @@ spec:
91
91
Run the following command to get the names of last active gatherers:
92
92
"oc get insightsoperators.operator.openshift.io cluster -o json | jq '.status.gatherStatus.gatherers[].name'"
93
93
items:
94
-
description: gathererConfig allows to configure specific
94
+
description: GathererConfig allows to configure specific
95
95
gatherers
96
96
properties:
97
97
name:
@@ -139,7 +139,7 @@ spec:
139
139
mode:
140
140
description: |-
141
141
mode is a required field that specifies the mode for gatherers. Allowed values are All, None, and Custom.
142
-
When set to All, all gatherers wil run and gather data.
142
+
When set to All, all gatherers will run and gather data.
143
143
When set to None, all gatherers will be disabled and no data will be gathered.
144
144
When set to Custom, the custom configuration from the custom field will be applied.
Copy file name to clipboardExpand all lines: config/v1/zz_generated.featuregated-crd-manifests/insightsdatagathers.config.openshift.io/InsightsConfig.yaml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ spec:
21
21
schema:
22
22
openAPIV3Schema:
23
23
description: |-
24
-
InsightsDataGather provides data gather configuration options for the the Insights Operator.
24
+
InsightsDataGather provides data gather configuration options for the Insights Operator.
25
25
26
26
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
27
27
properties:
@@ -59,7 +59,7 @@ spec:
59
59
When set to WorkloadNames, the gathered data about cluster resources will not contain the workload names for your deployments. Resources UIDs will be used instead.
60
60
When omitted no obfuscation is applied.
61
61
items:
62
-
description: dataPolicyOption declares valid data policy options
62
+
description: DataPolicyOption declares valid data policy options
63
63
enum:
64
64
- ObfuscateNetworking
65
65
- WorkloadNames
@@ -91,7 +91,7 @@ spec:
91
91
Run the following command to get the names of last active gatherers:
92
92
"oc get insightsoperators.operator.openshift.io cluster -o json | jq '.status.gatherStatus.gatherers[].name'"
93
93
items:
94
-
description: gathererConfig allows to configure specific
94
+
description: GathererConfig allows to configure specific
95
95
gatherers
96
96
properties:
97
97
name:
@@ -139,7 +139,7 @@ spec:
139
139
mode:
140
140
description: |-
141
141
mode is a required field that specifies the mode for gatherers. Allowed values are All, None, and Custom.
142
-
When set to All, all gatherers wil run and gather data.
142
+
When set to All, all gatherers will run and gather data.
143
143
When set to None, all gatherers will be disabled and no data will be gathered.
144
144
When set to Custom, the custom configuration from the custom field will be applied.
0 commit comments