Skip to content

Commit 6c5e447

Browse files
committed
Collect RBAC resources in E2E test artifacts
Add roles and rolebindings to artifact collection to diagnose permission errors during PipelineRun deployments. This will help investigate RBAC propagation delays that may cause intermittent deployment failures.
1 parent ec63f48 commit 6c5e447

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
run: |
7373
mkdir -p /tmp/k8s-artifacts
7474
kubectl logs -n func-operator-system -l control-plane=controller-manager --tail=-1 --all-containers --prefix --timestamps > /tmp/k8s-artifacts/func-operator.log || true
75-
for resource in functions deployments configmaps pipelineruns; do
75+
for resource in functions deployments configmaps pipelineruns roles rolebindings; do
7676
kubectl get ${resource} -A -o yaml > /tmp/k8s-artifacts/${resource}.yaml || true
7777
done
7878

0 commit comments

Comments
 (0)