mirror of
https://github.com/fatedier/frp.git
synced 2025-06-17 17:18:21 +00:00
20 lines
456 B
YAML
20 lines
456 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "frps.fullname" . }}
|
|
labels:
|
|
{{- include "frps.labels" . | nindent 4 }}
|
|
{{- with .Values.service.annotations }}
|
|
annotations:
|
|
{{- . | toYaml | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
targetPort: bind
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
{{- include "frps.selectorLabels" . | nindent 4 }}
|