Skip to content

Commit 142634e

Browse files
Disable multi-tenancy in OpenSearch
1 parent 464042e commit 142634e

7 files changed

Lines changed: 8 additions & 9 deletions

File tree

-113 KB
Binary file not shown.

docs/modules/demos/pages/logging.adoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,6 @@ Log in with the username `admin` and password `adminadmin`.
8080

8181
NOTE: On first login, you will be presented with some options. Feel free to bypass them to get to the logs.
8282

83-
Select the `Global` tenant to have access to the pre-configured `vector-*` index pattern.
84-
85-
image::logging/tenant.png[]
86-
8783
Click _Discover_ in the menu on the left to view the recent logs.
8884
If you do not see anything, increase the search window to greater than _Last 15 minutes_.
8985

docs/modules/demos/pages/opensearch-rag.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ Log in at http://localhost:5601 with:
274274
* *Username*: `admin`
275275
* *Password*: `adminadmin`
276276

277-
Select the *Global* tenant, then navigate to *Discover* to browse the `rag-documents` index:
277+
Navigate to *Discover* to browse the `rag-documents` index:
278278

279279
* Document titles and content
280280
* Categories (airflow-operator, kafka-operator, trino-operator, etc.)

stacks/_templates/opensearch-dashboards.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ options:
1515
type: NodePort
1616
port: 5601
1717
annotations:
18-
stackable.tech/logging-view-logs: |-
19-
/app/discover?security_tenant=global#/view/logs
18+
stackable.tech/logging-view-logs: /app/discover#/view/logs
2019
stackable.tech/logging-credentials-secret: opensearch-user
2120
labels:
2221
stackable.tech/vendor: Stackable
@@ -34,3 +33,5 @@ options:
3433
# Use the ServiceAccount of OpenSearch because its permissions are already configured to work on
3534
# OpenShift.
3635
name: opensearch-serviceaccount
36+
config:
37+
opensearch_security.multitenancy.enabled: false

stacks/logging/opensearch.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ stringData:
8888
authentication_backend:
8989
type: intern
9090
authz: {}
91+
kibana:
92+
multitenancy_enabled: false
9193
internal_users.yml: |
9294
---
9395
_meta:

stacks/logging/setup-opensearch-dashboards.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ spec:
2828
--retry-delay 5 \
2929
--header "Content-Type:application/json" \
3030
--header "osd-xsrf:true" \
31-
--header "securitytenant: global" \
3231
--data '{
3332
"attributes": {
3433
"title": "vector-*",
@@ -39,7 +38,6 @@ spec:
3938
curl \
4039
--header "Content-Type:application/json" \
4140
--header "osd-xsrf:true" \
42-
--header "securitytenant: global" \
4341
--data '{
4442
"attributes": {
4543
"title":"Logs",

stacks/opensearch-rag/opensearch.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ stringData:
9090
authentication_backend:
9191
type: intern
9292
authz: {}
93+
kibana:
94+
multitenancy_enabled: false
9395
internal_users.yml: |
9496
---
9597
_meta:

0 commit comments

Comments
 (0)