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": {
|
"settings": {
|
||||||
"index": {
|
"index": {
|
||||||
"lifecycle": {
|
"lifecycle": {
|
||||||
"name": "logs-default"
|
"name": "logs"
|
||||||
},
|
},
|
||||||
"codec": "best_compression",
|
"codec": "best_compression",
|
||||||
"mapping": {
|
"mapping": {
|
||||||
|
@ -113,7 +113,7 @@ exports[`tests loading coredns.logs.yml: coredns.logs.yml 1`] = `
|
||||||
"settings": {
|
"settings": {
|
||||||
"index": {
|
"index": {
|
||||||
"lifecycle": {
|
"lifecycle": {
|
||||||
"name": "logs-default"
|
"name": "logs"
|
||||||
},
|
},
|
||||||
"codec": "best_compression",
|
"codec": "best_compression",
|
||||||
"mapping": {
|
"mapping": {
|
||||||
|
@ -216,7 +216,7 @@ exports[`tests loading system.yml: system.yml 1`] = `
|
||||||
"settings": {
|
"settings": {
|
||||||
"index": {
|
"index": {
|
||||||
"lifecycle": {
|
"lifecycle": {
|
||||||
"name": "metrics-default"
|
"name": "metrics"
|
||||||
},
|
},
|
||||||
"codec": "best_compression",
|
"codec": "best_compression",
|
||||||
"mapping": {
|
"mapping": {
|
||||||
|
|
|
@ -262,7 +262,7 @@ function getBaseTemplate(
|
||||||
index: {
|
index: {
|
||||||
// ILM Policy must be added here, for now point to the default global ILM policy name
|
// ILM Policy must be added here, for now point to the default global ILM policy name
|
||||||
lifecycle: {
|
lifecycle: {
|
||||||
name: `${type}-default`,
|
name: type,
|
||||||
},
|
},
|
||||||
// What should be our default for the compression?
|
// What should be our default for the compression?
|
||||||
codec: 'best_compression',
|
codec: 'best_compression',
|
||||||
|
|
Loading…
Reference in a new issue