Files
devops-infra-helm-charts-gcp/helm-templates/tempo-distributed/templates/admin-api/admin-api-svc.yaml
T
2026-08-26 03:39:42 +05:30

28 lines
913 B
YAML

{{- if .Values.enterprise.enabled -}}
apiVersion: v1
kind: Service
metadata:
name: {{ include "tempo.resourceName" (dict "ctx" . "component" "admin-api") }}
labels:
{{- include "tempo.labels" (dict "ctx" . "component" "admin-api" "memberlist" true) | nindent 4 }}
{{- with .Values.adminApi.service.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
annotations:
{{- toYaml .Values.adminApi.service.annotations | nindent 4 }}
namespace: {{ .Release.Namespace | quote }}
spec:
type: ClusterIP
ports:
- port: {{ include "tempo.serverHttpListenPort" . }}
protocol: TCP
name: http-metrics
targetPort: http-metrics
- port: {{ include "tempo.serverGrpcListenPort" . }}
protocol: TCP
name: grpc
targetPort: grpc
selector:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "admin-api" "memberlist" true) | nindent 4 }}
{{- end -}}