diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index db886ca5e..2f083fb0b 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -69,7 +69,7 @@ jobs: run: | if kubectl cluster-info &>/dev/null; then mkdir -p /tmp/artifacts - support-bundle --interactive=false -o /tmp/artifacts/support-bundle + support-bundle --interactive=false -o /tmp/artifacts/support-bundle test/e2e/support-bundle.yaml else echo "No cluster available, skipping support-bundle collection" fi diff --git a/test/e2e/support-bundle.yaml b/test/e2e/support-bundle.yaml new file mode 100644 index 000000000..c0cc0bdbf --- /dev/null +++ b/test/e2e/support-bundle.yaml @@ -0,0 +1,9 @@ +apiVersion: troubleshoot.sh/v1beta2 +kind: SupportBundle +metadata: + name: e2e-tests +spec: + collectors: + - clusterResources: {} + - clusterInfo: {} + - logs: {}