Skip to content

Commit 61ee8ce

Browse files
committed
bugfix: fixing diableprometheusannotation casing
1 parent d826821 commit 61ee8ce

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

apis/v1alpha1/opentelemetrycollector_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ type MetricsConfigSpec struct {
527527
//
528528
// +optional
529529
// +kubebuilder:validation:Optional
530-
DisablePrometheusAnnotations bool `json:"DisablePrometheusAnnotations,omitempty"`
530+
DisablePrometheusAnnotations bool `json:"disablePrometheusAnnotations,omitempty"`
531531
}
532532

533533
// ObservabilitySpec defines how telemetry data gets handled.

bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3867,7 +3867,7 @@ spec:
38673867
metrics:
38683868
description: Metrics defines the metrics configuration for operands.
38693869
properties:
3870-
DisablePrometheusAnnotations:
3870+
disablePrometheusAnnotations:
38713871
description: DisablePrometheusAnnotations controls the automatic
38723872
addition of default Prometheus annotations ('prometheus.io/scrape',
38733873
'prometheus.io/port', and 'prometheus.io/path')
@@ -5211,7 +5211,7 @@ spec:
52115211
description: Metrics defines the metrics configuration for
52125212
operands.
52135213
properties:
5214-
DisablePrometheusAnnotations:
5214+
disablePrometheusAnnotations:
52155215
description: DisablePrometheusAnnotations controls the
52165216
automatic addition of default Prometheus annotations
52175217
('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path')

config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3864,7 +3864,7 @@ spec:
38643864
metrics:
38653865
description: Metrics defines the metrics configuration for operands.
38663866
properties:
3867-
DisablePrometheusAnnotations:
3867+
disablePrometheusAnnotations:
38683868
description: DisablePrometheusAnnotations controls the automatic
38693869
addition of default Prometheus annotations ('prometheus.io/scrape',
38703870
'prometheus.io/port', and 'prometheus.io/path')
@@ -5208,7 +5208,7 @@ spec:
52085208
description: Metrics defines the metrics configuration for
52095209
operands.
52105210
properties:
5211-
DisablePrometheusAnnotations:
5211+
disablePrometheusAnnotations:
52125212
description: DisablePrometheusAnnotations controls the
52135213
automatic addition of default Prometheus annotations
52145214
('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path')

docs/api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17812,7 +17812,7 @@ Metrics defines the metrics configuration for operands.
1781217812
</tr>
1781317813
</thead>
1781417814
<tbody><tr>
17815-
<td><b>DisablePrometheusAnnotations</b></td>
17815+
<td><b>disablePrometheusAnnotations</b></td>
1781617816
<td>boolean</td>
1781717817
<td>
1781817818
DisablePrometheusAnnotations controls the automatic addition of default Prometheus annotations ('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path')<br/>
@@ -20322,7 +20322,7 @@ Metrics defines the metrics configuration for operands.
2032220322
</tr>
2032320323
</thead>
2032420324
<tbody><tr>
20325-
<td><b>DisablePrometheusAnnotations</b></td>
20325+
<td><b>disablePrometheusAnnotations</b></td>
2032620326
<td>boolean</td>
2032720327
<td>
2032820328
DisablePrometheusAnnotations controls the automatic addition of default Prometheus annotations ('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path')<br/>

0 commit comments

Comments
 (0)