2024-07-13 20:21:59 +00:00
|
|
|
roles:
|
2024-10-09 19:43:03 +00:00
|
|
|
- name: xray-admin
|
|
|
|
namespace: public-xray
|
2024-07-13 20:21:59 +00:00
|
|
|
kind: Role
|
|
|
|
rules:
|
|
|
|
- apiGroups: ["*"]
|
|
|
|
resources: ["*"]
|
|
|
|
verbs: ["*"]
|
2024-10-09 19:43:03 +00:00
|
|
|
namespace: ["public-xray"]
|
2024-10-10 05:25:16 +00:00
|
|
|
bindings:
|
|
|
|
- name: woodpecker-ci
|
|
|
|
namespace: pipelines
|
|
|
|
kind: ClusterRoleBinding
|
|
|
|
subjects:
|
|
|
|
- kind: ServiceAccount
|
2024-10-16 19:20:58 +00:00
|
|
|
namespace: pipelines
|
|
|
|
name: woodpecker-ci
|
2024-10-10 05:25:16 +00:00
|
|
|
roleRef:
|
|
|
|
kind: ClusterRole
|
|
|
|
name: cluster-admin
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|
|
|
|
sa:
|
|
|
|
- name: woodpecker-ci
|
2024-10-16 19:20:58 +00:00
|
|
|
namespace: pipelines
|