-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Index management] Make allowAutoCreate param optional as its not available for legacy templates #189618
[Index management] Make allowAutoCreate param optional as its not available for legacy templates #189618
Conversation
Pinging @elastic/kibana-management (Team:Kibana Management) |
/ci |
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.
Thanks a lot for fixing this bug, @sabarasaba!
I think this fix might be worth backporting to other minors if possible
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
To update your PR or re-run it, just comment with: cc @sabarasaba |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…ilable for legacy templates (elastic#189618) (cherry picked from commit cd55732)
…ilable for legacy templates (elastic#189618) (cherry picked from commit cd55732)
…ilable for legacy templates (elastic#189618) (cherry picked from commit cd55732)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
…not available for legacy templates (#189618) (#189779) # Backport This will backport the following commits from `main` to `8.15`: - [[Index management] Make allowAutoCreate param optional as its not available for legacy templates (#189618)](#189618) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ignacio Rivas","email":"rivasign@gmail.com"},"sourceCommit":{"committedDate":"2024-08-02T09:05:57Z","message":"[Index management] Make allowAutoCreate param optional as its not available for legacy templates (#189618)","sha":"cd55732a00cd303e26851cf9935770fbeeed0955","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Index Management","Team:Kibana Management","release_note:skip","v7.15.0","v8.16.0"],"title":"[Index management] Make allowAutoCreate param optional as its not available for legacy templates","number":189618,"url":"https://github.com/elastic/kibana/pull/189618","mergeCommit":{"message":"[Index management] Make allowAutoCreate param optional as its not available for legacy templates (#189618)","sha":"cd55732a00cd303e26851cf9935770fbeeed0955"}},"sourceBranch":"main","suggestedTargetBranches":["7.15"],"targetPullRequestStates":[{"branch":"7.15","label":"v7.15.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/189618","number":189618,"mergeCommit":{"message":"[Index management] Make allowAutoCreate param optional as its not available for legacy templates (#189618)","sha":"cd55732a00cd303e26851cf9935770fbeeed0955"}}]}] BACKPORT--> Co-authored-by: Ignacio Rivas <rivasign@gmail.com>
…not available for legacy templates (#189618) (#189778) # Backport This will backport the following commits from `main` to `8.14`: - [[Index management] Make allowAutoCreate param optional as its not available for legacy templates (#189618)](#189618) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ignacio Rivas","email":"rivasign@gmail.com"},"sourceCommit":{"committedDate":"2024-08-02T09:05:57Z","message":"[Index management] Make allowAutoCreate param optional as its not available for legacy templates (#189618)","sha":"cd55732a00cd303e26851cf9935770fbeeed0955","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Index Management","Team:Kibana Management","release_note:skip","v7.15.0","v8.16.0"],"title":"[Index management] Make allowAutoCreate param optional as its not available for legacy templates","number":189618,"url":"https://github.com/elastic/kibana/pull/189618","mergeCommit":{"message":"[Index management] Make allowAutoCreate param optional as its not available for legacy templates (#189618)","sha":"cd55732a00cd303e26851cf9935770fbeeed0955"}},"sourceBranch":"main","suggestedTargetBranches":["7.15"],"targetPullRequestStates":[{"branch":"7.15","label":"v7.15.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/189618","number":189618,"mergeCommit":{"message":"[Index management] Make allowAutoCreate param optional as its not available for legacy templates (#189618)","sha":"cd55732a00cd303e26851cf9935770fbeeed0955"}}]}] BACKPORT--> Co-authored-by: Ignacio Rivas <rivasign@gmail.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
Closes #188268
Summary
This PR convers the
allowAutoCreate
param (see #178321) from the validation schema of index templates to be optional as its not availabel for legacy templates.Steps to reproduce:
Kibana Stack Management -> Index Management -> Index Templates -> Legacy index templates
section, edit this legacy template.