Skip to content

Commit ce83c73

Browse files
authored
Merge pull request #18 from BetterStackHQ/sl/fix_duplicate_env
Fix warnings
2 parents 6fecfd0 + cdb4314 commit ce83c73

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

templates/daemonset.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,9 @@ spec:
133133
valueFrom:
134134
fieldRef:
135135
fieldPath: metadata.namespace
136-
# Special configuration
136+
# Special configuration (these need dynamic template values)
137137
- name: OTEL_EXPORTER_OTLP_ENDPOINT
138138
value: "http://localhost:{{ .Values.collector.otlpPort }}"
139-
- name: BEYLA_CONFIG_PATH
140-
value: /etc/beyla/beyla.yaml
141139
- name: ENABLE_DOCKERPROBE
142140
value: {{ .Values.beyla.dockerprobe.enabled | quote }}
143141
{{- if .Values.beyla.memoryRestartThreshold }}

values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ beyla:
6262

6363
# Environment variables
6464
env:
65-
OTEL_EXPORTER_OTLP_ENDPOINT: http://localhost:34320
65+
# OTEL_EXPORTER_OTLP_ENDPOINT is set dynamically in the template
6666
OTEL_EXPORTER_OTLP_PROTOCOL: "http/protobuf"
6767
BEYLA_DISCOVERY_POLL_INTERVAL: "30s"
6868
BEYLA_MIN_PROCESS_AGE: "20s"

0 commit comments

Comments
 (0)