forked from cloudfoundry-incubator/cfcr-etcd-release
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example-rbac-config.yml
68 lines (53 loc) · 1.55 KB
/
example-rbac-config.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
---
- type: replace
path: /instance_groups/name=etcd/jobs/name=etcd/properties?/roles?/auditor?
value:
permissions: [{type: read, path: /, prefix: true}]
- type: replace
path: /instance_groups/name=etcd/jobs/name=etcd/properties?/roles?/ns1_admin_role?
value:
permissions: [{type: readwrite, path: /ns1/, prefix: true}]
- type: replace
path: /instance_groups/name=etcd/jobs/name=etcd/properties?/roles?/ns2_admin_role?
value:
permissions: [{type: readwrite, path: /ns2/, prefix: true}]
- type: replace
path: /instance_groups/name=etcd/jobs/name=etcd/properties?/users?/admin?
value:
password: ((etcd_admin_password))
roles: [root]
- type: replace
path: /variables/-
value:
name: etcd_admin_password
type: password
- type: replace
path: /instance_groups/name=etcd/jobs/name=etcd/properties?/users?/auditor?
value:
password: ((etcd_auditor_password))
roles: [auditor]
- type: replace
path: /variables/-
value:
name: etcd_auditor_password
type: password
- type: replace
path: /instance_groups/name=etcd/jobs/name=etcd/properties?/users?/ns1_admin?
value:
password: ((etcd_ns1_admin_password))
roles: [ns1_admin_role]
- type: replace
path: /variables/-
value:
name: etcd_ns1_admin_password
type: password
- type: replace
path: /instance_groups/name=etcd/jobs/name=etcd/properties?/users?/ns2_admin?
value:
password: ((etcd_ns2_admin_password))
roles: [ns2_admin_role]
- type: replace
path: /variables/-
value:
name: etcd_ns2_admin_password
type: password