rename ilm policy to remove -default (#71952)
This commit is contained in:
parent
978c261343
commit
037333695d
|
@ -10,7 +10,7 @@ exports[`tests loading base.yml: base.yml 1`] = `
|
|||
"settings": {
|
||||
"index": {
|
||||
"lifecycle": {
|
||||
"name": "logs-default"
|
||||
"name": "logs"
|
||||
},
|
||||
"codec": "best_compression",
|
||||
"mapping": {
|
||||
|
@ -113,7 +113,7 @@ exports[`tests loading coredns.logs.yml: coredns.logs.yml 1`] = `
|
|||
"settings": {
|
||||
"index": {
|
||||
"lifecycle": {
|
||||
"name": "logs-default"
|
||||
"name": "logs"
|
||||
},
|
||||
"codec": "best_compression",
|
||||
"mapping": {
|
||||
|
@ -216,7 +216,7 @@ exports[`tests loading system.yml: system.yml 1`] = `
|
|||
"settings": {
|
||||
"index": {
|
||||
"lifecycle": {
|
||||
"name": "metrics-default"
|
||||
"name": "metrics"
|
||||
},
|
||||
"codec": "best_compression",
|
||||
"mapping": {
|
||||
|
|
|
@ -262,7 +262,7 @@ function getBaseTemplate(
|
|||
index: {
|
||||
// ILM Policy must be added here, for now point to the default global ILM policy name
|
||||
lifecycle: {
|
||||
name: `${type}-default`,
|
||||
name: type,
|
||||
},
|
||||
// What should be our default for the compression?
|
||||
codec: 'best_compression',
|
||||
|
|
Loading…
Reference in a new issue