4242 config_version: 2
4343 config:
4444 dynamic:
45+ kibana:
46+ multitenancy_enabled: false
4547 http:
4648 anonymous_auth_enabled: false
4749 authc:
5658 authentication_backend:
5759 type: intern
5860 EOT
61+ cp config_custom.yml config_custom_remote.yml
5962
6063 - name : Download security plugin and create setup scripts
6164 uses : ./.github/actions/download-plugin
7275 plugins : " file:$(pwd)/opensearch-security.zip"
7376 security-enabled : true
7477 admin-password : ${{ env.OPENSEARCH_INITIAL_ADMIN_PASSWORD }}
75- security_config_file : config_custom .yml
78+ security_config_file : config_custom_remote .yml
7679 port : 9202
7780 jdk-version : 21
7881 resource-sharing-enabled : true
9497 opensearch.username: "kibanaserver"
9598 opensearch.password: "kibanaserver"
9699 opensearch.requestHeadersWhitelist: [ authorization,securitytenant ]
97- opensearch_security.multitenancy.enabled: true
98- opensearch_security.multitenancy.tenants.preferred: ["Private", "Global"]
100+ opensearch_security.multitenancy.enabled: false
99101 opensearch_security.readonly_mode.roles: ["kibana_read_only"]
100102 opensearch_security.cookie.secure: false
101103 data_source.enabled: true
@@ -106,6 +108,7 @@ jobs:
106108 - name : Run Cypress Tests
107109 uses : ./.github/actions/run-cypress-tests
108110 with :
111+ security_config_file : config_custom.yml
109112 dashboards_config_file : opensearch_dashboards_multidatasources.yml
110113 yarn_command : ' CYPRESS_VERIFY_TIMEOUT=60000 yarn cypress:run --browser chrome --headless --env LOGIN_AS_ADMIN=true --spec "test/cypress/e2e/multi-datasources/multi_datasources_enabled.spec.js"'
111114 resource_sharing_enabled : " true"
0 commit comments