Consider the following:
manifest.yml
policy_templates:
- name: apm-server
inputs:
- type: apm
vars:
- name: name
default: my-default-name
template_path: ./agent/input/template.yml.hbs
agent/input/template.yml.hbs
There will be a clash between the name field in the template (package-defined) and the name field in the input (spec-defined)
Same thing occurs for data streams templates. This scenario should be detected and avoided.
Consider the following:
manifest.ymlagent/input/template.yml.hbsThere will be a clash between the
namefield in the template (package-defined) and thenamefield in the input (spec-defined)Same thing occurs for data streams templates. This scenario should be detected and avoided.