You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
573 B
28 lines
573 B
2 years ago
|
# permissions for end users to view apps.
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRole
|
||
|
metadata:
|
||
|
labels:
|
||
|
app.kubernetes.io/name: clusterrole
|
||
|
app.kubernetes.io/instance: app-viewer-role
|
||
|
app.kubernetes.io/component: rbac
|
||
|
app.kubernetes.io/created-by: demo
|
||
|
app.kubernetes.io/part-of: demo
|
||
|
app.kubernetes.io/managed-by: kustomize
|
||
|
name: app-viewer-role
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- demo.mashibing.com
|
||
|
resources:
|
||
|
- apps
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
- apiGroups:
|
||
|
- demo.mashibing.com
|
||
|
resources:
|
||
|
- apps/status
|
||
|
verbs:
|
||
|
- get
|