apiVersion: v1 kind: Service metadata: name: {{ include "frps.fullname" . }}-dashboard labels: {{- include "frps.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 "frps.selectorLabels" . | nindent 4 }}