Skip to content

Commit c78f261

Browse files
committed
feat: run make generate
Signed-off-by: Ondrej Pokorny <[email protected]>
1 parent 2e4113f commit c78f261

9 files changed

+109
-41
lines changed

config/v1alpha2/types_insights.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ type GatherConfig struct {
5555
// The particular gatherers IDs can be found at https://github.com/openshift/insights-operator/blob/master/docs/gathered-data.md.
5656
// Run the following command to get the names of last active gatherers:
5757
// "oc get insightsoperators.operator.openshift.io cluster -o json | jq '.status.gatherStatus.gatherers[].name'"
58-
// +optional
59-
// +kubebuilder:validation:items:MaxLength=100
58+
// +listType=set
6059
// +kubebuilder:validation:MaxItems=100
60+
// +optional
6161
Gatherers []GathererConfig `json:"gatherers"`
6262
}
6363

config/v1alpha2/zz_generated.crd-manifests/0000_10_config-operator_01_insightsdatagathers-CustomNoUpgrade.crd.yaml

+15-8
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,21 @@ spec:
5353
dataPolicy:
5454
description: |-
5555
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".
57-
When set to None the data is not obfuscated.
56+
in the Insights archive data. Valid values are "ClearText" and "ObfuscateNetworking".
57+
When set to ClearText the data is not obfuscated.
5858
When set to ObfuscateNetworking the IP addresses and the cluster domain name are obfuscated.
5959
When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time.
60-
The current default is None.
61-
enum:
62-
- ""
63-
- None
64-
- ObfuscateNetworking
65-
type: string
60+
The current default is ClearText.
61+
items:
62+
description: dataPolicyOption declares valid data policy options
63+
enum:
64+
- ""
65+
- ClearText
66+
- ObfuscateNetworking
67+
type: string
68+
maxItems: 5
69+
type: array
70+
x-kubernetes-list-type: set
6671
gatherers:
6772
description: |-
6873
gatherers is a list of gatherers configurations.
@@ -74,6 +79,7 @@ spec:
7479
properties:
7580
name:
7681
description: name is the name of specific gatherer
82+
maxLength: 100
7783
type: string
7884
state:
7985
description: |-
@@ -88,6 +94,7 @@ spec:
8894
required:
8995
- name
9096
type: object
97+
maxItems: 100
9198
type: array
9299
type: object
93100
type: object

config/v1alpha2/zz_generated.crd-manifests/0000_10_config-operator_01_insightsdatagathers-DevPreviewNoUpgrade.crd.yaml

+15-8
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,21 @@ spec:
5353
dataPolicy:
5454
description: |-
5555
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".
57-
When set to None the data is not obfuscated.
56+
in the Insights archive data. Valid values are "ClearText" and "ObfuscateNetworking".
57+
When set to ClearText the data is not obfuscated.
5858
When set to ObfuscateNetworking the IP addresses and the cluster domain name are obfuscated.
5959
When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time.
60-
The current default is None.
61-
enum:
62-
- ""
63-
- None
64-
- ObfuscateNetworking
65-
type: string
60+
The current default is ClearText.
61+
items:
62+
description: dataPolicyOption declares valid data policy options
63+
enum:
64+
- ""
65+
- ClearText
66+
- ObfuscateNetworking
67+
type: string
68+
maxItems: 5
69+
type: array
70+
x-kubernetes-list-type: set
6671
gatherers:
6772
description: |-
6873
gatherers is a list of gatherers configurations.
@@ -74,6 +79,7 @@ spec:
7479
properties:
7580
name:
7681
description: name is the name of specific gatherer
82+
maxLength: 100
7783
type: string
7884
state:
7985
description: |-
@@ -88,6 +94,7 @@ spec:
8894
required:
8995
- name
9096
type: object
97+
maxItems: 100
9198
type: array
9299
type: object
93100
type: object

config/v1alpha2/zz_generated.crd-manifests/0000_10_config-operator_01_insightsdatagathers-TechPreviewNoUpgrade.crd.yaml

+15-8
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,21 @@ spec:
5353
dataPolicy:
5454
description: |-
5555
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".
57-
When set to None the data is not obfuscated.
56+
in the Insights archive data. Valid values are "ClearText" and "ObfuscateNetworking".
57+
When set to ClearText the data is not obfuscated.
5858
When set to ObfuscateNetworking the IP addresses and the cluster domain name are obfuscated.
5959
When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time.
60-
The current default is None.
61-
enum:
62-
- ""
63-
- None
64-
- ObfuscateNetworking
65-
type: string
60+
The current default is ClearText.
61+
items:
62+
description: dataPolicyOption declares valid data policy options
63+
enum:
64+
- ""
65+
- ClearText
66+
- ObfuscateNetworking
67+
type: string
68+
maxItems: 5
69+
type: array
70+
x-kubernetes-list-type: set
6671
gatherers:
6772
description: |-
6873
gatherers is a list of gatherers configurations.
@@ -74,6 +79,7 @@ spec:
7479
properties:
7580
name:
7681
description: name is the name of specific gatherer
82+
maxLength: 100
7783
type: string
7884
state:
7985
description: |-
@@ -88,6 +94,7 @@ spec:
8894
required:
8995
- name
9096
type: object
97+
maxItems: 100
9198
type: array
9299
type: object
93100
type: object

config/v1alpha2/zz_generated.deepcopy.go

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

config/v1alpha2/zz_generated.featuregated-crd-manifests/insightsdatagathers.config.openshift.io/InsightsConfig.yaml

+15-8
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,21 @@ spec:
5353
dataPolicy:
5454
description: |-
5555
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".
57-
When set to None the data is not obfuscated.
56+
in the Insights archive data. Valid values are "ClearText" and "ObfuscateNetworking".
57+
When set to ClearText the data is not obfuscated.
5858
When set to ObfuscateNetworking the IP addresses and the cluster domain name are obfuscated.
5959
When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time.
60-
The current default is None.
61-
enum:
62-
- ""
63-
- None
64-
- ObfuscateNetworking
65-
type: string
60+
The current default is ClearText.
61+
items:
62+
description: dataPolicyOption declares valid data policy options
63+
enum:
64+
- ""
65+
- ClearText
66+
- ObfuscateNetworking
67+
type: string
68+
maxItems: 5
69+
type: array
70+
x-kubernetes-list-type: set
6671
gatherers:
6772
description: |-
6873
gatherers is a list of gatherers configurations.
@@ -74,6 +79,7 @@ spec:
7479
properties:
7580
name:
7681
description: name is the name of specific gatherer
82+
maxLength: 100
7783
type: string
7884
state:
7985
description: |-
@@ -88,6 +94,7 @@ spec:
8894
required:
8995
- name
9096
type: object
97+
maxItems: 100
9198
type: array
9299
type: object
93100
type: object

config/v1alpha2/zz_generated.swagger_doc_generated.go

+2-1
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

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

openapi/openapi.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -11699,8 +11699,12 @@
1169911699
"type": "object",
1170011700
"properties": {
1170111701
"dataPolicy": {
11702-
"description": "dataPolicy allows user to enable additional global obfuscation of the IP addresses and base domain in the Insights archive data. Valid values are \"None\" and \"ObfuscateNetworking\". When set to None the data is not obfuscated. When set to ObfuscateNetworking the IP addresses and the cluster domain name are obfuscated. When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default is None.",
11703-
"type": "string"
11702+
"description": "dataPolicy allows user to enable additional global obfuscation of the IP addresses and base domain in the Insights archive data. Valid values are \"ClearText\" and \"ObfuscateNetworking\". When set to ClearText the data is not obfuscated. When set to ObfuscateNetworking the IP addresses and the cluster domain name are obfuscated. When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default is ClearText.",
11703+
"type": "array",
11704+
"items": {
11705+
"type": "string",
11706+
"default": ""
11707+
}
1170411708
},
1170511709
"gatherers": {
1170611710
"description": "gatherers is a list of gatherers configurations. The particular gatherers IDs can be found at https://github.com/openshift/insights-operator/blob/master/docs/gathered-data.md. Run the following command to get the names of last active gatherers: \"oc get insightsoperators.operator.openshift.io cluster -o json | jq '.status.gatherStatus.gatherers[].name'\"",
@@ -11776,6 +11780,7 @@
1177611780
"type": "string"
1177711781
},
1177811782
"items": {
11783+
"description": "items is the list of InsightsDataGather objects",
1177911784
"type": "array",
1178011785
"items": {
1178111786
"default": {},

0 commit comments

Comments
 (0)