Skip to content

Commit b60ddfe

Browse files
committed
Fix e2e
1 parent 3f20ea1 commit b60ddfe

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
@@ -164,10 +164,10 @@ spec:
164164
readOnly: true
165165
initContainers:
166166
- command:
167-
- cp
168-
- -r
169-
- /autoinstrumentation/.
170-
- /otel-auto-instrumentation-python
167+
- /bin/sh
168+
args:
169+
- -c
170+
- test -d /autoinstrumentation/. && cp -r /autoinstrumentation/. /otel-auto-instrumentation-python || cp -r /autoinstrumentation/. /otel-auto-instrumentation-python
171171
name: opentelemetry-auto-instrumentation-python
172172
volumeMounts:
173173
- 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
@@ -378,10 +378,10 @@ spec:
378378
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
379379
readOnly: true
380380
- command:
381-
- cp
382-
- -r
383-
- /autoinstrumentation/.
384-
- /otel-auto-instrumentation-python
381+
- /bin/sh
382+
args:
383+
- -c
384+
- test -d /autoinstrumentation/. && cp -r /autoinstrumentation/. /otel-auto-instrumentation-python || cp -r /autoinstrumentation/. /otel-auto-instrumentation-python
385385
name: opentelemetry-auto-instrumentation-python
386386
volumeMounts:
387387
- mountPath: /otel-auto-instrumentation-python

0 commit comments

Comments
 (0)