{{/* Make sure all variables are set properly */}} {{- include "common.setup" . }} {{/* Append the hardcoded settings */}} {{- define "statping.hardcodedValues" -}} env: VIRTUAL_PORT: {{ .Values.service.main.ports.main.port }} {{- end -}} {{- $_ := mergeOverwrite .Values (include "statping.hardcodedValues" . | fromYaml) -}} {{/* Render the templates */}} {{ include "common.postSetup" . }}