Skip to content

Commit 6a7cd38

Browse files
authored
fix: spec invalid rendered values "null" (#11481)
* fix: spec invalid rendered values "null" * chore: add fragments * update helm to v4 * fix: k8s_events empty config * rollback go mod changes * rollback licenses
1 parent 3fd8171 commit 6a7cd38

File tree

4 files changed

+38
-5
lines changed

4 files changed

+38
-5
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Kind can be one of:
2+
# - breaking-change: a change to previously-documented behavior
3+
# - deprecation: functionality that is being removed in a later release
4+
# - bug-fix: fixes a problem in a previous version
5+
# - enhancement: extends functionality but does not break or fix existing behavior
6+
# - feature: new functionality
7+
# - known-issue: problems that we are aware of in a given version
8+
# - security: impacts on the security of a product or a user’s deployment.
9+
# - upgrade: important information for someone upgrading from a prior version
10+
# - other: does not fit into any of the other categories
11+
kind: bug-fix
12+
13+
# Change summary; a 80ish characters long description of the change.
14+
summary: fix kube-stack null template evaluation for Helm v4
15+
16+
# Long description; in case the summary is not enough to describe the change
17+
# this field accommodate a description without length limits.
18+
# NOTE: This field will be rendered only for breaking-change and known-issue kinds at the moment.
19+
#description:
20+
21+
# Affected component; usually one of "elastic-agent", "fleet-server", "filebeat", "metricbeat", "auditbeat", "all", etc.
22+
component:
23+
24+
# PR URL; optional; the PR number that added the changeset.
25+
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
26+
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
27+
# Please provide it if you are adding a fragment for a different PR.
28+
#pr: https://github.com/owner/repo/1234
29+
30+
# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
31+
# If not present is automatically filled by the tooling with the issue linked to the PR number.
32+
#issue: https://github.com/owner/repo/1234

deploy/helm/edot-collector/kube-stack/managed_otlp/logs-values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ collectors:
233233
endpoint: ${env:MY_POD_IP}:4317
234234
http:
235235
endpoint: ${env:MY_POD_IP}:4318
236-
processors:
236+
processors: {}
237237
exporters:
238238
debug:
239239
otlp/ingest:

deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ collectors:
114114
- "service.version"
115115
receivers:
116116
# [K8s Events Receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/k8seventsreceiver)
117-
k8s_events:
117+
k8s_events: {}
118118
# [K8s Objects Receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/k8sobjectsreceiver)
119119
# NOTE: The k8sobjects receiver for K8s Events collection is being replaced by the k8s_events receiver, it might be removed in future versions of this configuration
120120
k8sobjects:
@@ -544,7 +544,7 @@ collectors:
544544
endpoint: ${env:MY_POD_IP}:4317
545545
http:
546546
endpoint: ${env:MY_POD_IP}:4318
547-
processors:
547+
processors: {}
548548
exporters:
549549
debug:
550550
otlp/ingest_logs:

deploy/helm/edot-collector/kube-stack/values.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ collectors:
114114
- "service.version"
115115
receivers:
116116
# [K8s Events Receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/k8seventsreceiver)
117-
k8s_events:
117+
k8s_events: {}
118118
# [K8s Objects Receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/k8sobjectsreceiver)
119119
# NOTE: The k8sobjects receiver for K8s Events collection is being replaced by the k8s_events receiver, it might be removed in future versions of this configuration
120120
k8sobjects:
@@ -590,7 +590,7 @@ collectors:
590590
metrics/aggregated-otel-metrics:
591591
receivers:
592592
- elasticapm
593-
processors:
593+
processors: []
594594
exporters:
595595
- debug
596596
- elasticsearch/otel
@@ -599,6 +599,7 @@ collectors:
599599
instrumentation:
600600
name: elastic-instrumentation
601601
enabled: true # Enable/disable auto-instrumentation.
602+
env: []
602603
exporter:
603604
endpoint: http://opentelemetry-kube-stack-daemon-collector.opentelemetry-operator-system.svc.cluster.local:4318 # The daemonset OpenTelemetry Collector endpoint where telemetry data will be exported.
604605
propagators:

0 commit comments

Comments
 (0)