diff --git a/tests/kuttl/test-sidecars/01-pods.yaml b/tests/kuttl/test-sidecars/01-pods.yaml index bd616df3c..432c5f7e1 100644 --- a/tests/kuttl/test-sidecars/01-pods.yaml +++ b/tests/kuttl/test-sidecars/01-pods.yaml @@ -46,14 +46,6 @@ spec: deployments: - name: processor podSpec: - volumeMounts: - - name: puptoo-otel-config - mountPath: "/etc/otelcol/config.yaml" - readOnly: true - volumes: - - name: puptoo-otel-config - configMap: - name: puptoo-otel-config image: quay.io/psav/clowder-hello sidecars: - name: token-refresher diff --git a/tests/kuttl/test-sidecars/02-assert.yaml b/tests/kuttl/test-sidecars/02-assert.yaml index d6db50451..78a017f98 100644 --- a/tests/kuttl/test-sidecars/02-assert.yaml +++ b/tests/kuttl/test-sidecars/02-assert.yaml @@ -23,3 +23,11 @@ spec: serviceAccountName: puptoo-processor containers: - name: puptoo-processor + volumeMounts: + - name: puptoo-otel-config + mountPath: "/etc/otelcol/config.yaml" + readOnly: true + volumes: + - name: puptoo-otel-config + configMap: + name: puptoo-otel-config