Skip to content

Commit fb0f9bd

Browse files
committed
chore: make generate
Signed-off-by: Bence Csati <bence.csati@axoflow.com>
1 parent 3095ed1 commit fb0f9bd

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

api/telemetry/v1alpha1/zz_generated.deepcopy.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/telemetry-controller/crds/telemetry.kube-logging.dev_collectors.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ spec:
5757
debug:
5858
description: Enables debug logging for the collector.
5959
type: boolean
60+
dryRunMode:
61+
description: |-
62+
DryRunMode disables all exporters except for the debug exporter, as well as persistence options configured for the collector.
63+
This can be useful for testing and debugging purposes.
64+
type: boolean
6065
memoryLimiter:
6166
description: Setting memory limits for the Collector using the memory
6267
limiter processor.
@@ -7501,6 +7506,11 @@ spec:
75017506
- controlNamespace
75027507
- tenantSelector
75037508
type: object
7509+
x-kubernetes-validations:
7510+
- message: dryRunMode can only be set to true when debug is explicitly
7511+
set to true
7512+
rule: '!has(self.dryRunMode) || !self.dryRunMode || (has(self.debug)
7513+
&& self.debug)'
75047514
status:
75057515
description: CollectorStatus defines the observed state of Collector
75067516
properties:

config/crd/bases/telemetry.kube-logging.dev_collectors.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ spec:
5757
debug:
5858
description: Enables debug logging for the collector.
5959
type: boolean
60+
dryRunMode:
61+
description: |-
62+
DryRunMode disables all exporters except for the debug exporter, as well as persistence options configured for the collector.
63+
This can be useful for testing and debugging purposes.
64+
type: boolean
6065
memoryLimiter:
6166
description: Setting memory limits for the Collector using the memory
6267
limiter processor.
@@ -7501,6 +7506,11 @@ spec:
75017506
- controlNamespace
75027507
- tenantSelector
75037508
type: object
7509+
x-kubernetes-validations:
7510+
- message: dryRunMode can only be set to true when debug is explicitly
7511+
set to true
7512+
rule: '!has(self.dryRunMode) || !self.dryRunMode || (has(self.debug)
7513+
&& self.debug)'
75047514
status:
75057515
description: CollectorStatus defines the observed state of Collector
75067516
properties:

0 commit comments

Comments
 (0)