19 lines
572 B
YAML
19 lines
572 B
YAML
# ClusterRoleBinding: Grant Woodpecker agent cluster-admin for integration tests
|
|
# Integration test steps create ephemeral namespaces and deploy sandbox infrastructure.
|
|
# Mirrors the existing ARC runner RBAC pattern.
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: woodpecker-agent-inttest
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: cluster-admin
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: woodpecker-agent
|
|
namespace: woodpecker
|
|
- kind: ServiceAccount
|
|
name: default
|
|
namespace: woodpecker
|