Files
devops-infra-helm-charts-gcp/helm-templates/tempo-distributed/templates/gateway/_helpers-gateway.tpl
T
2026-08-26 03:39:42 +05:30

24 lines
667 B
Smarty

{{/*
gateway auth secret name
*/}}
{{- define "tempo.gatewayAuthSecret" -}}
{{ .Values.gateway.basicAuth.existingSecret | default (include "tempo.resourceName" (dict "ctx" . "component" "gateway")) }}
{{- end }}
{{/*
gateway image
*/}}
{{- define "tempo.gatewayImage" -}}
{{- $dict := dict "tempo" (dict) "service" .Values.gateway.image "global" .Values.global.image -}}
{{- include "tempo.tempoImage" $dict -}}
{{- end }}
{{/*
gateway imagePullSecrets
*/}}
{{- define "tempo.gatewayImagePullSecrets" -}}
{{- $dict := dict "component" .Values.gateway.image "global" .Values.global.image "tempo" (dict) -}}
{{- include "tempo.imagePullSecrets" $dict -}}
{{- end }}