-
Notifications
You must be signed in to change notification settings - Fork 126
Support different Kibana configs based on stack version #553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
/test |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, and I agree with the follow ups. There may be more changes needed if more breaking changes are introduced till 8.0 is released, but let's merge this if this unblocks the use of 8.x stacks by now.
Makefile
Outdated
./scripts/test-stack-command.sh | ||
|
||
test-stack-command-lts: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit.
test-stack-command-lts: | |
test-stack-command-7x: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
withEnv(stackVariantAsEnv(options.StackVersion)). | ||
withEnvs(options.Profile.ComposeEnvVars()). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we can encapsulate all the particularities for a given version in the profile.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First we have to clean this dependency hell around profiles, but in general I agree with you.
Issue: #552
This PR introduces a mechanism to support multiple Kibana config files to mitigate problems with starting the 8.x stack. There are lot of changes due to "profiles" support and this is something we need to address in follow-ups.
Follow-ups:
KibanaConfigFile
affected too many places)