Skip to content

Commit c3d7fc4

Browse files
committed
feat(opentelemetry-collector): support for extraEnvs and extraEnvsFrom templating
1 parent 2d23d7d commit c3d7fc4

97 files changed

Lines changed: 126 additions & 122 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

charts/opentelemetry-collector/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: opentelemetry-collector
3-
version: 0.142.1
3+
version: 0.142.2
44
description: OpenTelemetry Collector Helm chart for Kubernetes
55
type: application
66
home: https://opentelemetry.io/

charts/opentelemetry-collector/UPGRADING.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ These upgrade guidelines only contain instructions for version upgrades which re
44
If the version you want to upgrade to is not listed here, then there is nothing to do for you.
55
Just upgrade and enjoy.
66

7+
## 0.142.1 to 0.142.2
8+
9+
The `extraEnvs` and `extraEnvsFrom` are now templated in the same manner other templated fields, e.g. `extraVolumes`. If you are using any `{{ }}` syntax in `extraEnvs` or `extraEnvsFrom` you will need to escape them using ``` {{` <original content> `}} ```.
10+
711
## 0.121.0 to 0.122.0
812

913
In the v0.123.1 Collector release we stopped pushing images to Dockerhub due to how their new rate limit changes affected our CI. If you're using `otel/opentelemetry-collector-k8s` for the image you should switch to `ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-k8s`. See https://github.com/open-telemetry/community/issues/2641 for more details.
@@ -21,7 +25,7 @@ The deprecated memory ballast extension has been removed from the default config
2125

2226
## 0.88.0 to 0.89.0
2327

24-
> [!WARNING]
28+
> [!WARNING]
2529
> Critical content demanding immediate user attention due to potential risks.
2630
2731
As part of working towards using the [OpenTelemetry Collector Kubernetes Distro](https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-k8s) by default, the chart now requires users to explicitly set an image repository. If you are already explicitly setting an image repository this breaking change does not affect you.

charts/opentelemetry-collector/examples/alternate-config/rendered/clusterrole.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ kind: ClusterRole
55
metadata:
66
name: example-opentelemetry-collector
77
labels:
8-
helm.sh/chart: opentelemetry-collector-0.142.1
8+
helm.sh/chart: opentelemetry-collector-0.142.2
99
app.kubernetes.io/name: opentelemetry-collector
1010
app.kubernetes.io/instance: example
1111
app.kubernetes.io/version: "0.142.0"

charts/opentelemetry-collector/examples/alternate-config/rendered/clusterrolebinding.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ kind: ClusterRoleBinding
55
metadata:
66
name: example-opentelemetry-collector
77
labels:
8-
helm.sh/chart: opentelemetry-collector-0.142.1
8+
helm.sh/chart: opentelemetry-collector-0.142.2
99
app.kubernetes.io/name: opentelemetry-collector
1010
app.kubernetes.io/instance: example
1111
app.kubernetes.io/version: "0.142.0"

charts/opentelemetry-collector/examples/alternate-config/rendered/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
name: example-opentelemetry-collector
77
namespace: default
88
labels:
9-
helm.sh/chart: opentelemetry-collector-0.142.1
9+
helm.sh/chart: opentelemetry-collector-0.142.2
1010
app.kubernetes.io/name: opentelemetry-collector
1111
app.kubernetes.io/instance: example
1212
app.kubernetes.io/version: "0.142.0"

charts/opentelemetry-collector/examples/alternate-config/rendered/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
name: example-opentelemetry-collector
77
namespace: default
88
labels:
9-
helm.sh/chart: opentelemetry-collector-0.142.1
9+
helm.sh/chart: opentelemetry-collector-0.142.2
1010
app.kubernetes.io/name: opentelemetry-collector
1111
app.kubernetes.io/instance: example
1212
app.kubernetes.io/version: "0.142.0"
@@ -26,7 +26,7 @@ spec:
2626
template:
2727
metadata:
2828
annotations:
29-
checksum/config: 977f1a3f5ba4b035202c2124d0570e936006bbc35b8be77d617a38aa6436a6f0
29+
checksum/config: 202269a7e06a302daf8ee7ec19ad7f8acddd1d766b965f1538d856dc4072104f
3030

3131
labels:
3232
app.kubernetes.io/name: opentelemetry-collector

charts/opentelemetry-collector/examples/alternate-config/rendered/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
name: example-opentelemetry-collector
77
namespace: default
88
labels:
9-
helm.sh/chart: opentelemetry-collector-0.142.1
9+
helm.sh/chart: opentelemetry-collector-0.142.2
1010
app.kubernetes.io/name: opentelemetry-collector
1111
app.kubernetes.io/instance: example
1212
app.kubernetes.io/version: "0.142.0"

charts/opentelemetry-collector/examples/alternate-config/rendered/serviceaccount.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
name: example-opentelemetry-collector
77
namespace: default
88
labels:
9-
helm.sh/chart: opentelemetry-collector-0.142.1
9+
helm.sh/chart: opentelemetry-collector-0.142.2
1010
app.kubernetes.io/name: opentelemetry-collector
1111
app.kubernetes.io/instance: example
1212
app.kubernetes.io/version: "0.142.0"

charts/opentelemetry-collector/examples/custom-metrics-hpa/rendered/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
name: example-opentelemetry-collector
77
namespace: default
88
labels:
9-
helm.sh/chart: opentelemetry-collector-0.142.1
9+
helm.sh/chart: opentelemetry-collector-0.142.2
1010
app.kubernetes.io/name: opentelemetry-collector
1111
app.kubernetes.io/instance: example
1212
app.kubernetes.io/version: "0.142.0"

charts/opentelemetry-collector/examples/custom-metrics-hpa/rendered/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
name: example-opentelemetry-collector
77
namespace: default
88
labels:
9-
helm.sh/chart: opentelemetry-collector-0.142.1
9+
helm.sh/chart: opentelemetry-collector-0.142.2
1010
app.kubernetes.io/name: opentelemetry-collector
1111
app.kubernetes.io/instance: example
1212
app.kubernetes.io/version: "0.142.0"
@@ -25,7 +25,7 @@ spec:
2525
template:
2626
metadata:
2727
annotations:
28-
checksum/config: c140e668897ec234ffda452f34eb4f5ed3df743df5d88bf12887c100dc910d72
28+
checksum/config: d9f26c13613d4fe37c68e0474d28278464fb0a5a102e7da1e7ae80ed694650e5
2929

3030
labels:
3131
app.kubernetes.io/name: opentelemetry-collector

0 commit comments

Comments
 (0)