Fix some postgres config templating issues introduced in 4.2.0
requested to merge matthias.vandemeent/cloud-native-gitlab:fix/postgres-config-override-templating-issues into master
Fixes #2223 (closed)
At my end this fixes all issues I've seen, but there may be config fields that I do not override that may still have issues.