Skip to content

Commit 109c0de

Browse files
committed
bugfix: fixing diableprometheusannotation casing
1 parent 02e44fb commit 109c0de

5 files changed

+23
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
2+
change_type: bug_fix
3+
4+
# The name of the component, or a single word describing the area of concern, (e.g. operator, target allocator, github action)
5+
component: operator
6+
7+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8+
note: Changing one of the fields to follow naming conventions with lowerCamelCase
9+
10+
# One or more tracking issues related to the change
11+
issues: [2608]
12+
13+
# (Optional) One or more lines of additional information to render under the primary note.
14+
# These lines will be padded with 2 spaces and then inserted directly into the document.
15+
# Use pipe (|) for multiline entries.
16+
subtext:

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)