TIL how to define different Helm-Repos in a template

Recently I had to create a Helm-Chart (still not a fan of it, at all!) where the image was different depending on if the helm-chart was used for local development or used in production. I had to resort to using an if-else-condition that I put into the _helpers.tpl -file …