go-template split string by delimiter
Helm uses the sprig library to provide lots of data manipulation functions, have a look at their docs for strings. You can use the {{ split }} function to do what you want. $parts := split “.” .Values.deployment.domain $parts._0