frp/charts/frpc/templates/dashboard-service.yaml

20 lines
498 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: {{ include "frpc.fullname" . }}-dashboard
labels:
{{- include "frpc.labels" . | nindent 4 }}
{{- with .Values.dashboardService.annotations }}
annotations:
{{- . | toYaml | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.dashboardService.type }}
ports:
- port: {{ .Values.dashboardService.port }}
targetPort: dashboard
protocol: TCP
name: http
selector:
{{- include "frpc.selectorLabels" . | nindent 4 }}