From 28685933c828e488279703a4aa0d8d68d5dea515 Mon Sep 17 00:00:00 2001 From: Ben Blattberg Date: Thu, 4 Jul 2024 07:16:11 -0500 Subject: [PATCH] Add log collector to standalone pgadmin KUTTL test --- testing/kuttl/e2e/standalone-pgadmin/00-assert.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 testing/kuttl/e2e/standalone-pgadmin/00-assert.yaml diff --git a/testing/kuttl/e2e/standalone-pgadmin/00-assert.yaml b/testing/kuttl/e2e/standalone-pgadmin/00-assert.yaml new file mode 100644 index 0000000000..5b95b46964 --- /dev/null +++ b/testing/kuttl/e2e/standalone-pgadmin/00-assert.yaml @@ -0,0 +1,7 @@ +apiVersion: kuttl.dev/v1beta1 +kind: TestAssert +collectors: +- type: command + command: kubectl -n $NAMESPACE describe pods --selector postgres-operator.crunchydata.com/pgadmin=pgadmin +- namespace: $NAMESPACE + selector: postgres-operator.crunchydata.com/pgadmin=pgadmin