@@ -34,6 +34,17 @@ stringData:
3434 config:
3535 dynamic:
3636 authc:
37+ # Allow internal authentication for debugging purposes, so that OpenSearch Dashboards can
38+ # be used which uses the internal user kibanaserver.
39+ internal_auth:
40+ order: 0
41+ http_enabled: true
42+ transport_enabled: true
43+ http_authenticator:
44+ type: basic
45+ challenge: false
46+ authentication_backend:
47+ type: internal
3748 ldap:
3849 http_enabled: true
3950 transport_enabled: true
@@ -48,11 +59,28 @@ stringData:
4859 hosts:
4960 - openldap.$NAMESPACE.svc.cluster.local:1636
5061 pemtrustedcas_filepath: {{ test_scenario['values'] ['opensearch_home'] }}/config/tls/ca.crt
51- userbase: ou=users,dc=example,dc=org
62+ userbase: ou=users,dc=stackable,dc=tech
63+ username_attribute: uid
64+ usersearch: (cn={0})
65+ verify_hostnames: true
66+ authz:
67+ ldap:
68+ http_enabled: true
69+ transport_enabled: true
70+ authorization_backend:
71+ type: ldap
72+ config:
73+ enable_ssl: true
74+ hosts:
75+ - openldap.$NAMESPACE.svc.cluster.local:1636
76+ pemtrustedcas_filepath: {{ test_scenario['values'] ['opensearch_home'] }}/config/tls/ca.crt
77+ userbase: ou=users,dc=stackable,dc=tech
5278 username_attribute: uid
5379 usersearch: (cn={0})
5480 verify_hostnames: true
55- authz: {}
81+ rolesearch: (member={0})
82+ rolebase: ou=groups,dc=stackable,dc=tech
83+ rolename: cn
5684 internal_users.yml: |
5785 ---
5886 # The hash value is a bcrypt hash and can be generated with plugin/tools/hash.sh
@@ -82,6 +110,20 @@ stringData:
82110 _meta:
83111 type: roles
84112 config_version: 2
113+
114+ test-role:
115+ reserved: false
116+ cluster_permissions:
117+ - indices:data/write/bulk*
118+ index_permissions:
119+ - index_patterns:
120+ - "*"
121+ allowed_actions:
122+ - indices:admin/create
123+ - indices:admin/delete
124+ - indices:admin/mapping/put
125+ - indices:data/write/bulk*
126+ - indices:data/write/index
85127 roles_mapping.yml: |
86128 ---
87129 _meta:
@@ -92,13 +134,16 @@ stringData:
92134 reserved: false
93135 backend_roles:
94136 - admin
95- users:
96- - integrationtest
97137
98138 kibana_server:
99139 reserved: true
100140 users:
101141 - kibanaserver
142+
143+ test-role:
144+ reserved: false
145+ backend_roles:
146+ - testgroup
102147 tenants.yml: |
103148 ---
104149 _meta:
0 commit comments