Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/ws-manager-mk2/config/rbac/snapshot_editor_role.yaml
2499 views
1
# Copyright (c) 2023 Gitpod GmbH. All rights reserved.
2
# Licensed under the GNU Affero General Public License (AGPL).
3
# See License.AGPL.txt in the project root for license information.
4
5
# permissions for end users to edit snapshots.
6
apiVersion: rbac.authorization.k8s.io/v1
7
kind: ClusterRole
8
metadata:
9
labels:
10
app.kubernetes.io/name: clusterrole
11
app.kubernetes.io/instance: snapshot-editor-role
12
app.kubernetes.io/component: rbac
13
app.kubernetes.io/created-by: ws-manager-mk2
14
app.kubernetes.io/part-of: ws-manager-mk2
15
app.kubernetes.io/managed-by: kustomize
16
name: snapshot-editor-role
17
rules:
18
- apiGroups:
19
- workspace.gitpod.io
20
resources:
21
- snapshots
22
verbs:
23
- create
24
- delete
25
- get
26
- list
27
- patch
28
- update
29
- watch
30
- apiGroups:
31
- workspace.gitpod.io
32
resources:
33
- snapshots/status
34
verbs:
35
- create
36
- delete
37
- get
38
- list
39
- patch
40
- update
41
- watch
42
43