Skip to content

Commit 9ef7ee2

Browse files
committed
try setting var
1 parent ec80e19 commit 9ef7ee2

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

functional_tests/functional/testdata/nodejs/deployment.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,12 @@ spec:
2020
- image: quay.io/splunko11ytest/nodejs_test:latest
2121
name: nodejs-test
2222
imagePullPolicy: IfNotPresent
23+
env:
24+
- name: NODE_IP
25+
valueFrom:
26+
fieldRef:
27+
fieldPath: status.hostIP
28+
- name: SPLUNK_PROFILER_LOGS_ENDPOINT
29+
value: "http://$(NODE_IP):4318"
2330
nodeSelector:
2431
kubernetes.io/os: "linux"

functional_tests/functional/testdata/values/test_values.yaml.tmpl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ instrumentation:
9898
env:
9999
- name: SPLUNK_METRICS_ENABLED
100100
value: "true"
101-
- name: SPLUNK_PROFILER_LOGS_ENDPOINT
102-
value: "http://$(SPLUNK_OTEL_AGENT):4318"
103101
installationJob:
104102
enabled: true
105103
operatorcrds:

0 commit comments

Comments
 (0)