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_viewer_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 view 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-viewer-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-viewer-role
17
rules:
18
- apiGroups:
19
- workspace.gitpod.io
20
resources:
21
- snapshots
22
verbs:
23
- get
24
- list
25
- watch
26
- apiGroups:
27
- workspace.gitpod.io
28
resources:
29
- snapshots/status
30
verbs:
31
- get
32
33