Skip to content

Commit 42b4ad4

Browse files
committed
Fix e2e
1 parent dd405a0 commit 42b4ad4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tests/e2e-multi-instrumentation/instrumentation-multi-multicontainer-go/02-assert.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,10 @@ spec:
166166
readOnly: true
167167
initContainers:
168168
- command:
169-
- cp
170-
- -r
171-
- /autoinstrumentation/.
172-
- /otel-auto-instrumentation-python
169+
- /bin/sh
170+
args:
171+
- -c
172+
- test -d /autoinstrumentation/. && cp -r /autoinstrumentation/. /otel-auto-instrumentation-python || cp -r /autoinstrumentation/. /otel-auto-instrumentation-python
173173
name: opentelemetry-auto-instrumentation-python
174174
volumeMounts:
175175
- mountPath: /otel-auto-instrumentation-python

tests/e2e-multi-instrumentation/instrumentation-multi-multicontainer/01-assert.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -380,10 +380,10 @@ spec:
380380
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
381381
readOnly: true
382382
- command:
383-
- cp
384-
- -r
385-
- /autoinstrumentation/.
386-
- /otel-auto-instrumentation-python
383+
- /bin/sh
384+
args:
385+
- -c
386+
- test -d /autoinstrumentation/. && cp -r /autoinstrumentation/. /otel-auto-instrumentation-python || cp -r /autoinstrumentation/. /otel-auto-instrumentation-python
387387
name: opentelemetry-auto-instrumentation-python
388388
volumeMounts:
389389
- mountPath: /otel-auto-instrumentation-python

0 commit comments

Comments
 (0)