-
Notifications
You must be signed in to change notification settings - Fork 67
/
openldap-bootstrap-config.yaml
84 lines (79 loc) · 2.35 KB
/
openldap-bootstrap-config.yaml
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
---
apiVersion: builtin
kind: ConfigMapGenerator
metadata:
name: openldap-bootstrap-config
literals:
- LDAP_TLS="false"
- LDAP_ADMIN_PASSWORD="Password123"
- LDAP_DOMAIN="example.com"
- LDAP_REMOVE_CONFIG_AFTER_SETUP="false"
- DISABLE_CHOWN="false"
- |-
LDAP_USERS_CONF=dn: uid=viya_admin,ou=people,dc=example,dc=com
changetype: add
objectClass: inetOrgPerson
objectclass: extensibleObject
uid: viya_admin
uidNumber: 2001
gidNumber: 2000
cn: administrator
sn: Admin
homeDirectory: /home/viya_admin
mail: viya_admin@example.com
distinguishedName: uid=viya_admin,ou=people,dc=example,dc=com
displayName: Viya Administrator
userPassword: Password123
dn: uid=user1,ou=people,dc=example,dc=com
changetype: add
objectClass: inetOrgPerson
objectclass: extensibleObject
uid: user1
uidNumber: 7001
gidNumber: 1000
cn: user1
sn: Tester
distinguishedName: uid=user1,ou=people,dc=example,dc=com
displayName: Test User 1
userPassword: Password123
homeDirectory: /home/user1
mail: user1@example.com
dn: uid=user2,ou=people,dc=example,dc=com
changetype: add
objectClass: inetOrgPerson
objectclass: extensibleObject
uid: user2
uidNumber: 7002
gidNumber: 1000
cn: user2
sn: Tester
distinguishedName: uid=user2,ou=people,dc=example,dc=com
displayName: Test User 2
userPassword: Password123
homeDirectory: /home/user2
mail: user2@example.com
dn: cn=users,ou=groups,dc=example,dc=com
changetype: add
objectclass: groupofUniqueNames
objectclass: extensibleObject
gidNumber: 1000
distinguishedName: cn=group1,ou=groups,dc=example,dc=com
uniqueMember:uid=user1,ou=people,dc=example,dc=com
uniqueMember:uid=user2,ou=people,dc=example,dc=com
dn: cn=admins,ou=groups,dc=example,dc=com
changetype: add
objectclass: groupofUniqueNames
objectclass: extensibleObject
gidNumber: 2000
distinguishedName: cn=admins,ou=groups,dc=example,dc=com
uniqueMember:uid=viya_admin,ou=people,dc=example,dc=com
- |-
LDAP_GROUPS_CONF=dn: ou=people,dc=example,dc=com
changetype: add
objectClass: organizationalUnit
ou: people
dn: ou=groups,dc=example,dc=com
changetype: add
ou: groups
description: All organizational groups
objectclass: organizationalunit