{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}

{{/* 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 "tc.common.loader.apply" . }}
