From f33fe54a40e1570a6a9cc1cf560c323ba0bb3ae5 Mon Sep 17 00:00:00 2001 From: Gabor Burges Date: Thu, 12 Dec 2024 18:44:01 +0100 Subject: [PATCH] Fix kuttl test --- config/manager/kustomization.yaml | 4 ++-- tests/kuttl/test-sidecars/01-pods.yaml | 8 -------- tests/kuttl/test-sidecars/02-assert.yaml | 8 ++++++++ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 3e9ed46ac..b8f0689c6 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -1,5 +1,5 @@ -resources: # - clowder_config.yaml +resources: - manager.yaml - metrics_service.yaml @@ -18,4 +18,4 @@ kind: Kustomization images: - name: controller newName: 127.0.0.1:5000/clowder - newTag: b7db066 + newTag: 839e9d729770dafd929c7959c5db634645ec55c2 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