Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoravong committed Oct 3, 2024
1 parent a1faa0b commit 47cb969
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 22 deletions.
4 changes: 2 additions & 2 deletions test/unittests/operator_customized_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tests:
count: 1
- equal:
path: spec.exporter.endpoint
value: http://RELEASE-NAME-splunk-otel-collector:4317
value: http://RELEASE-NAME-splunk-otel-collector-agent.NAMESPACE.svc.cluster.local:4317
- contains:
path: spec.env
content:
Expand All @@ -25,7 +25,7 @@ tests:
path: spec.nodejs.env
content:
name: OTEL_EXPORTER_OTLP_ENDPOINT
value: "http://$(NODEJS_OTEL_AGENT):4318"
value: "http://RELEASE-NAME-splunk-otel-collector-agent.NAMESPACE.svc.cluster.local:4318"
- contains:
path: spec.nodejs.env
content:
Expand Down
22 changes: 3 additions & 19 deletions test/unittests/operator_default_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tests:
count: 1
- equal:
path: spec.exporter.endpoint
value: http://$(SPLUNK_OTEL_AGENT):4317
value: http://RELEASE-NAME-splunk-otel-collector-agent.NAMESPACE.svc.cluster.local:4317
- contains:
path: spec.propagators
content: tracecontext
Expand All @@ -20,14 +20,6 @@ tests:
- contains:
path: spec.propagators
content: b3
- contains:
path: spec.env
content:
name: SPLUNK_OTEL_AGENT
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.hostIP
- contains:
path: spec.dotnet.env
content:
Expand All @@ -37,17 +29,9 @@ tests:
path: spec.dotnet.env
content:
name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(SPLUNK_OTEL_AGENT):4318
- contains:
path: spec.env
content:
name: SPLUNK_OTEL_AGENT
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.hostIP
value: http://RELEASE-NAME-splunk-otel-collector-agent.NAMESPACE.svc.cluster.local:4318
- contains:
path: spec.java.env
content:
name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(SPLUNK_OTEL_AGENT):4318
value: http://RELEASE-NAME-splunk-otel-collector-agent.NAMESPACE.svc.cluster.local:4318
2 changes: 1 addition & 1 deletion test/unittests/values/operator_customized.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ instrumentation:
nodejs:
env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(NODEJS_OTEL_AGENT):4318
value: http://RELEASE-NAME-splunk-otel-collector-agent.NAMESPACE.svc.cluster.local:4318
- name: SPLUNK_PROFILER_ENABLED
value: "false"
- name: SPLUNK_PROFILER_MEMORY_ENABLED
Expand Down

0 comments on commit 47cb969

Please sign in to comment.