mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[8.14] [Index management] Make allowAutoCreate param optional as its 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)](https://github.com/elastic/kibana/pull/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>
This commit is contained in:
parent
b533e68ef3
commit
75ddd09ea7
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ export const templateSchema = schema.object({
|
|||
version: schema.maybe(schema.number()),
|
||||
order: schema.maybe(schema.number()),
|
||||
priority: schema.maybe(schema.number()),
|
||||
allowAutoCreate: schema.string(),
|
||||
// Not present for legacy templates
|
||||
allowAutoCreate: schema.maybe(schema.string()),
|
||||
template: schema.maybe(
|
||||
schema.object({
|
||||
settings: schema.maybe(schema.object({}, { unknowns: 'allow' })),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue