123456789101112131415161718192021222324252627 |
- {{- 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 -}}
|