mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Fix SAML provider incorrectly added to Docker SSL (#178555)
## Summary The existence of `kibanaUrl` in the default parameters leads to the SAML role provider being enabled for `yarn es docker --ssl` and then ES crashing on startup. This option should only be a default for `yarn es serverless --ssl`
This commit is contained in:
parent
b285c3a1ed
commit
c1f4821607
2 changed files with 1 additions and 2 deletions
|
@ -92,7 +92,7 @@ export const serverless: Command = {
|
|||
string: ['projectType', 'tag', 'image', 'basePath', 'resources', 'host', 'kibanaUrl'],
|
||||
boolean: ['clean', 'ssl', 'kill', 'background', 'skipTeardown', 'waitForReady'],
|
||||
|
||||
default: defaults,
|
||||
default: { ...defaults, kibanaUrl: 'https://localhost:5601/' },
|
||||
}) as unknown as ServerlessOptions;
|
||||
|
||||
if (!options.projectType) {
|
||||
|
|
|
@ -20,7 +20,6 @@ kbnEs
|
|||
'source-path': resolve(__dirname, '../../elasticsearch'),
|
||||
'base-path': resolve(__dirname, '../.es'),
|
||||
ssl: false,
|
||||
kibanaUrl: 'https://localhost:5601/',
|
||||
})
|
||||
.catch(function (e) {
|
||||
console.error(e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue