[Spaces] Add defaultSolution to spaces config#218360
Conversation
f4a685a to
158c3b4
Compare
|
Pinging @elastic/kibana-security (Team:Security) |
kc13greiner
left a comment
There was a problem hiding this comment.
Please add test coverage for the new property and condition
💚 Build Succeeded
Metrics [docs]
History
|
kc13greiner
left a comment
There was a problem hiding this comment.
LGTM - thank you for the tests 🚀
|
Starting backport for target branches: 8.x |
## Summary This PR adds new config option `defaultSolution` (`xpack.spaces.defaultSolution`) which lets you specify a default solution, similar to the way cloud plugin does it. Addresses: elastic#213144 (cherry picked from commit 31f0f21)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.x`: - [[Spaces] Add defaultSolution to spaces config (#218360)](#218360) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Krzysztof Kowalczyk","email":"krzysztof.kowalczyk@elastic.co"},"sourceCommit":{"committedDate":"2025-04-16T17:22:10Z","message":"[Spaces] Add defaultSolution to spaces config (#218360)\n\n## Summary\n\nThis PR adds new config option `defaultSolution`\n(`xpack.spaces.defaultSolution`) which lets you specify a default\nsolution, similar to the way cloud plugin does it.\n\nAddresses: #213144","sha":"31f0f211d9d76fc757adaff91e41f94bafbacfb4","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Team:Security","enhancement","Feature:Security/Spaces","backport:version","v9.1.0","v8.19.0"],"title":"[Spaces] Add defaultSolution to spaces config","number":218360,"url":"https://github.com/elastic/kibana/pull/218360","mergeCommit":{"message":"[Spaces] Add defaultSolution to spaces config (#218360)\n\n## Summary\n\nThis PR adds new config option `defaultSolution`\n(`xpack.spaces.defaultSolution`) which lets you specify a default\nsolution, similar to the way cloud plugin does it.\n\nAddresses: #213144","sha":"31f0f211d9d76fc757adaff91e41f94bafbacfb4"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/218360","number":218360,"mergeCommit":{"message":"[Spaces] Add defaultSolution to spaces config (#218360)\n\n## Summary\n\nThis PR adds new config option `defaultSolution`\n(`xpack.spaces.defaultSolution`) which lets you specify a default\nsolution, similar to the way cloud plugin does it.\n\nAddresses: #213144","sha":"31f0f211d9d76fc757adaff91e41f94bafbacfb4"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Krzysztof Kowalczyk <krzysztof.kowalczyk@elastic.co>
## Summary This PR adds new config option `defaultSolution` (`xpack.spaces.defaultSolution`) which lets you specify a default solution, similar to the way cloud plugin does it. Addresses: elastic#213144
## Summary This PR adds new config option `defaultSolution` (`xpack.spaces.defaultSolution`) which lets you specify a default solution, similar to the way cloud plugin does it. Addresses: elastic#213144
|
@kowalczyk-krzysztof can I set the also kibana:
image: docker.elastic.co/kibana/kibana:9.1.4
container_name: test_kibana
volumes:
- dev-kibana:/usr/share/kibana/data
ports:
- 127.0.0.1:5601:5601
environment:
- SERVER_NAME=kibana
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
- XPACK_SPACES_DEFAULTSOLUTION=obltThanks! |
|
@kowalczyk-krzysztof I just found that |
|
@ezimuel When we add new values to Kibana config, we do that in Kibana code itself and sometimes we add it to Cloud whitelist if it's meant to be available on ECH. I'm not sure why it's not available in Docker. Probably best to reach out to people who maintain the dockerfiles repository. |
|
I've raised #236570 to address this. |
|
Thanks for handling this @legrego! This is new to me, I'll make sure to remember about this step when adding new configs. |
|
Thanks @kowalczyk-krzysztof and @legrego |
Summary
This PR adds new config option
defaultSolution(xpack.spaces.defaultSolution) which lets you specify a default solution, similar to the way cloud plugin does it.Closes: #213144