From f31071717abb3ab53b3356fedcef4ba8bef2be7f Mon Sep 17 00:00:00 2001 From: Erik Godding Boye Date: Mon, 16 Jan 2023 10:58:26 +0100 Subject: [PATCH] test(e2e): try out kuttl collectors (#75) --- .../vulnerability-overflow/00-assert.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/test/e2e/scenario/vulnerability-overflow/00-assert.yaml b/test/e2e/scenario/vulnerability-overflow/00-assert.yaml index 277ac03b..9d972dce 100644 --- a/test/e2e/scenario/vulnerability-overflow/00-assert.yaml +++ b/test/e2e/scenario/vulnerability-overflow/00-assert.yaml @@ -10,3 +10,19 @@ spec: status: vulnerabilitySummary: severityCount: {} +--- +apiVersion: kuttl.dev/v1beta1 +kind: TestAssert +collectors: + - type: command + command: df -h + - type: events + namespace: image-scanner-jobs + - type: pod + namespace: image-scanner + pod: trivy-0 + - type: pod + namespace: image-scanner + selector: control-plane=image-scanner + - type: command + command: kubectl describe node