Render with latest or default:
ytt -f image-config.yaml | kbld -f - -f pod-template.yaml
Render with specific version:
ytt -f image-config.yaml -v nginxVersion=1.20 | kbld -f - -f pod-template.yaml
ytt -f image-config.yaml -v nginxVersion=1.21 | kbld -f - -f pod-template.yaml
Render but don't resolve images:
ytt -f image-config.yaml -v preresolved=true -v nginxVersion=1.21 | kbld -f - -f pod-template.yaml