keep the original template if template expansion fails in skaffold diagnose command because users may not have some values from build available when running this if they have helm deployer/renderer setTemplates configured.
We keep the original template unchanged, so users can still use the diagnose result in a later stage. '
For example, "repo.tag": {{IMAGE_TAG_BUILD_ARTFIACT_NAME}}, not available in diagnose stage, but it will be provided through --build-artifacts flag in render stage.
skaffold diagnose
command because users may not have some values from build available when running this if they have helm deployer/renderer setTemplates configured."repo.tag": {{IMAGE_TAG_BUILD_ARTFIACT_NAME}}
, not available in diagnose stage, but it will be provided through--build-artifacts
flag inrender
stage.