Describe the Bug
When deploying puppet compilers using singleCA.enabled: true as an statefulset, singleCA.puppetdb.overrideHostname is required to be set in order to get a proper PUPPETDB_SERVER_URLS environment variable value, otherwise an invalid value is rendered (PUPPETDB_SERVER_URLS: https://:8081).
This behavior is different from masters deployment and compilers deployed as a deployment, where the default helm function is used (https://{{ default ( include "puppetdb.fullname" . ) .Values.singleCA.puppetdb.overrideHostname }}:8081).
Expected Behavior
The same way of rendering PUPPETDB_SERVER_URLS environment variable value should be used everywhere.
Environment
Additional Context
Add any other context about the problem here.