-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroles.yml
84 lines (73 loc) · 1.86 KB
/
roles.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
auth:
type: OAUTH2
oauth2:
client:
keycloak:
clientId: redacted
clientSecret: redacted
scope: openid
issuer-uri: http://localhost:9080/auth/realms/infra
user-name-attribute: preferred_username
client-name: keycloak
provider: keycloak
custom-params:
type: oauth
roles-field: groups
management:
health:
ldap:
enabled: false
rbac:
enabled: true
roles:
- name: "admins"
clusters:
- clusters
subjects:
- provider: oauth
type: role
value: "Admin"
permissions:
- resource: applicationconfig
actions: ["view", "edit", "create", "delete"]
- resource: clusterconfig
actions: ["view", "edit", "create", "delete"]
- resource: topic
value: ".*"
actions: ["view", "edit", "create", "delete"]
- resource: consumer
value: ".*"
actions: ["view", "edit", "create", "delete"]
- resource: schema
value: ".*"
actions: ["view", "edit", "create", "delete"]
- resource: connect
value: ".*"
actions: ["view", "edit", "create", "delete"]
- resource: ksql
actions: ["view", "edit", "create", "delete"]
- name: "readonly"
clusters:
- clusters
subjects:
- provider: oauth
type: role
value: "Viewer"
permissions:
- resource: clusterconfig
actions: [ "view" ]
- resource: topic
value: ".*"
actions:
- VIEW
- MESSAGES_READ
- resource: consumer
value: ".*"
actions: [ "view" ]
- resource: schema
value: ".*"
actions: [ "view" ]
- resource: connect
value: ".*"
actions: [ "view" ]