diff --git a/.chloggen/daemonset-vpa.yaml b/.chloggen/daemonset-vpa.yaml new file mode 100755 index 0000000000..0fc87d3be5 --- /dev/null +++ b/.chloggen/daemonset-vpa.yaml @@ -0,0 +1,16 @@ +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: enhancement + +# The name of the component, or a single word describing the area of concern, (e.g. operator, target allocator, github action) +component: operator + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Updates the Daemonset to allow for label selectors && fix casing for DisablePrometheusAnnotations + +# One or more tracking issues related to the change +issues: [2605, 2608] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: diff --git a/apis/v1alpha1/opentelemetrycollector_types.go b/apis/v1alpha1/opentelemetrycollector_types.go index 1647ca54a9..8467806c59 100644 --- a/apis/v1alpha1/opentelemetrycollector_types.go +++ b/apis/v1alpha1/opentelemetrycollector_types.go @@ -527,7 +527,7 @@ type MetricsConfigSpec struct { // // +optional // +kubebuilder:validation:Optional - DisablePrometheusAnnotations bool `json:"DisablePrometheusAnnotations,omitempty"` + DisablePrometheusAnnotations bool `json:"disablePrometheusAnnotations,omitempty"` } // ObservabilitySpec defines how telemetry data gets handled. diff --git a/bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml b/bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml index cf15404595..ab2ddd3026 100644 --- a/bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml +++ b/bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml @@ -3867,7 +3867,7 @@ spec: metrics: description: Metrics defines the metrics configuration for operands. properties: - DisablePrometheusAnnotations: + disablePrometheusAnnotations: description: DisablePrometheusAnnotations controls the automatic addition of default Prometheus annotations ('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path') @@ -5211,7 +5211,7 @@ spec: description: Metrics defines the metrics configuration for operands. properties: - DisablePrometheusAnnotations: + disablePrometheusAnnotations: description: DisablePrometheusAnnotations controls the automatic addition of default Prometheus annotations ('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path') diff --git a/config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml b/config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml index 5ed95c6145..ea7f6db9bf 100644 --- a/config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml +++ b/config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml @@ -3864,7 +3864,7 @@ spec: metrics: description: Metrics defines the metrics configuration for operands. properties: - DisablePrometheusAnnotations: + disablePrometheusAnnotations: description: DisablePrometheusAnnotations controls the automatic addition of default Prometheus annotations ('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path') @@ -5208,7 +5208,7 @@ spec: description: Metrics defines the metrics configuration for operands. properties: - DisablePrometheusAnnotations: + disablePrometheusAnnotations: description: DisablePrometheusAnnotations controls the automatic addition of default Prometheus annotations ('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path') diff --git a/docs/api.md b/docs/api.md index a586f024e8..0981bbaed4 100644 --- a/docs/api.md +++ b/docs/api.md @@ -17812,7 +17812,7 @@ Metrics defines the metrics configuration for operands.