Skip to content

Commit

Permalink
Add allowed warning for index template creation
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsbauman committed Sep 6, 2024
1 parent 73e7b73 commit f458490
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ setup:
type: text

- do:
allowed_warnings:
- "index template [v2_template] has index patterns [v2_strict_nonexistent*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [v2_template] will take precedence during new index creation"
indices.put_index_template:
name: v2_template
body:
Expand All @@ -291,6 +293,8 @@ setup:
type: text

- do:
allowed_warnings:
- "index template [v2_hidden_template] has index patterns [v2_strict_hidden_nonexistent*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [v2_hidden_template] will take precedence during new index creation"
indices.put_index_template:
name: v2_hidden_template
body:
Expand Down

0 comments on commit f458490

Please sign in to comment.