ideally you exclude the yaml in a separate file (ie: kube.yaml) and load it from there. In practice because we need a node to use a function like readFile.. I ended up putting the text in the pipeline. Which is bad because now we have lots of duplicates. Indeed, I don't know if completing the implementation of podTemplate is a good idea, but there is definitely something to do here.