refactor: redesign E2E to use ConfigMap volume mount with stock Headlamp image #73

Merged
ghost merged 7 commits from gandalf/e2e-redesign-custom-image into main 2026-03-21 00:09:09 +00:00
Showing only changes of commit 9249f151a8 - Show all commits
+26
View File
@@ -45,3 +45,29 @@ roleRef:
kind: Role
name: e2e-ci-runner
apiGroup: rbac.authorization.k8s.io
---
# ClusterRole to allow the runner SA to verify the headlamp-e2e namespace
# exists before attempting namespaced operations. kubectl get namespace is a
# cluster-scoped operation not coverable by a namespaced Role.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: e2e-ci-namespace-reader
rules:
- apiGroups: [""]
resources: ["namespaces"]
verbs: ["get"]
resourceNames: ["headlamp-e2e"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: e2e-ci-namespace-reader-binding
subjects:
- kind: ServiceAccount
name: runners-privilegedescalation-gha-rs-no-permission
namespace: arc-runners
roleRef:
kind: ClusterRole
name: e2e-ci-namespace-reader
apiGroup: rbac.authorization.k8s.io