From 5237c7076d0e7c9452dedff63b61fe647e042139 Mon Sep 17 00:00:00 2001 From: Gabor Burges Date: Thu, 12 Dec 2024 18:44:01 +0100 Subject: [PATCH] Fix kuttl test --- tests/kuttl/test-sidecars/01-pods.yaml | 8 -------- tests/kuttl/test-sidecars/02-assert.yaml | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) 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