add meta.managed to index templates (#71135)

This commit is contained in:
Sandra Gonzales 2020-07-08 18:49:38 -04:00 committed by GitHub
parent de6bb03855
commit a8aee2cb8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -99,7 +99,8 @@ exports[`tests loading base.yml: base.yml 1`] = `
"package": { "package": {
"name": "nginx" "name": "nginx"
}, },
"managed_by": "ingest-manager" "managed_by": "ingest-manager",
"managed": true
} }
} }
`; `;
@ -203,7 +204,8 @@ exports[`tests loading coredns.logs.yml: coredns.logs.yml 1`] = `
"package": { "package": {
"name": "coredns" "name": "coredns"
}, },
"managed_by": "ingest-manager" "managed_by": "ingest-manager",
"managed": true
} }
} }
`; `;
@ -1691,7 +1693,8 @@ exports[`tests loading system.yml: system.yml 1`] = `
"package": { "package": {
"name": "system" "name": "system"
}, },
"managed_by": "ingest-manager" "managed_by": "ingest-manager",
"managed": true
} }
} }
`; `;

View file

@ -317,6 +317,7 @@ function getBaseTemplate(
name: packageName, name: packageName,
}, },
managed_by: 'ingest-manager', managed_by: 'ingest-manager',
managed: true,
}, },
}; };
} }