Skip to content

Commit 0c23326

Browse files
authored
Merge pull request #158 from uptick/no-000/fix-bad-yaml
fix(helm): remove trailing colon from OTEL_RESOURCE_ATTRIBUTES env var name
2 parents 2c2a5a6 + 2184d70 commit 0c23326

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

charts/gitops/templates/deployment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ spec:
9090
value: "gitops"
9191
- name: OTEL_EXPORTER_OTLP_TIMEOUT
9292
value: "1"
93-
- name: OTEL_RESOURCE_ATTRIBUTES:
94-
value: "cluster={{.Values.cluster}}"
93+
- name: OTEL_RESOURCE_ATTRIBUTES
94+
value: "cluster={{.Values.environment.CLUSTER_NAME}}"
9595
# We want to limit the length of the attributes so that we don't store too much
9696
- name: OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT
9797
value: "512"

0 commit comments

Comments
 (0)