forked from intel/gprofiler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscc.yaml
More file actions
37 lines (37 loc) · 691 Bytes
/
Copy pathscc.yaml
File metadata and controls
37 lines (37 loc) · 691 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
apiVersion: v1
kind: Namespace
metadata:
name: granulate
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: granulate-service-account
namespace: granulate
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: use-privileged
namespace: granulate
rules:
- apiGroups:
- security.openshift.io
resources:
- securitycontextconstraints
resourceNames:
- privileged
verbs:
- use
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: use-privileged
subjects:
- kind: ServiceAccount
name: granulate-service-account
roleRef:
kind: Role
name: use-privileged
apiGroup: rbac.authorization.k8s.io