Would be parsed and applied correctly, without the additional use of something like from_yaml_all in the definition parameter.
Maybe to make sure this behavior continues working in the future (assuming it works now), we could include two resources in one of the j2 files, e.g. add a Service to the molecule/default/templates/pod_template_two.j2 file.
SUMMARY
After https://github.com/ansible-collections/community.kubernetes/pull/230 was merged, I wondered if multiple YAML documents, e.g.:
Would be parsed and applied correctly, without the additional use of something like
from_yaml_all
in thedefinition
parameter.Maybe to make sure this behavior continues working in the future (assuming it works now), we could include two resources in one of the j2 files, e.g. add a Service to the
molecule/default/templates/pod_template_two.j2
file.ISSUE TYPE
COMPONENT NAME
k8s / template
ADDITIONAL INFORMATION
N/A