You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/tutorials/pages/authentication_with_openldap.adoc
+46-43
Original file line number
Diff line number
Diff line change
@@ -20,12 +20,10 @@ command.
20
20
21
21
=== Superset and Trino Stack
22
22
23
-
This command will install the latest Stackable release for you, and set up the `trino-superset-s3` Stack. It contains a
24
-
Superset instance connected to a Trino instance, and all their dependencies (Minio S3, PostgreSQL). Later in this guide,
23
+
This command will install the latest Stackable release for you, and set up the `trino-superset-s3` Stack. It contains a Superset instance connected to a Trino instance, and all their dependencies (Minio S3, PostgreSQL). Later in this guide,
25
24
a Superset and Trino instance will be configured to use LDAP.
26
25
27
-
If you do not have a Kubernetes cluster already, add the `--cluster kind` (or `-c kind`) flag to let stackablectl deploy
28
-
one for you.
26
+
If you do not have a Kubernetes cluster already, add the `--cluster kind` (or `-c kind`) flag to let stackablectl deploy one for you.
You can log into Superset with user _admin_ and password _adminadmin_, and into Trino with user _admin_ and password
48
46
_adminadmin_.
49
47
50
-
These are the current users defined in Superset's and Trino's internal user management. Later you will see that these
51
-
users cannot be used for authentication anymore after LDAP authentication has been enabled.
48
+
These are the current users defined in Superset's and Trino's internal user management. Later you will see that these users cannot be used for authentication anymore after LDAP authentication has been enabled.
52
49
53
50
=== OpenLDAP Stack
54
51
@@ -72,7 +69,7 @@ LDAP_PASSWORDS: alice,bob
72
69
73
70
== Steps
74
71
75
-
Now that you have a couple of data products installed as well as an LDAP server, you can start configuring the products to use LDAP. The following image shows the parts that are already there in blue and the parts you will add in green:
72
+
Now that you have a couple of data products as well as the LDAP server installed, you can start configuring the products to use LDAP. The following image shows the parts that are already there in blue and the parts you will add in green:
76
73
77
74
image::image$openldap-tutorial.drawio.svg[]
78
75
@@ -149,13 +146,16 @@ metadata:
149
146
name: superset
150
147
...
151
148
spec:
152
-
version: ...
153
-
statsdExporterVersion: ...
154
-
credentialsSecret: superset-credentials
149
+
image:
150
+
productVersion: ...
151
+
clusterConfig:
152
+
listenerClass: ...
153
+
credentialsSecret: superset-credentials
154
+
mapboxSecret: ...
155
155
nodes:
156
156
roleGroups:
157
157
default:
158
-
config:
158
+
replicas: 1
159
159
...
160
160
----
161
161
====
@@ -165,12 +165,12 @@ You can now delete the SupersetCluster, you recreate it later with the new confi
Connect to superset as before, and try logging in again with username _admin_ and password _adminadmin_, Superset will not accept these credentials anymore. You now have to use LDAP credentials to log in. The OpenLDAP you installed earlier comes with two users, _alice_ (password _alice_) and _bob_ (password _bob_). Log in with any of these users and Superset will accept.
210
212
211
213
[#trino]
212
214
=== Add LDAP configuration to Trino
213
215
214
216
Trino is configured very similarly to Superset.
215
217
216
-
Fetch the existing TrinoCluster defintion from the Kubernetes API server and save it into a `trino.yaml` file:
218
+
Fetch the existing TrinoCluster definition from the Kubernetes API server and save it into a `trino.yaml` file:
0 commit comments