1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +02:00
woodpecker/charts/woodpecker-server/templates/service.yaml

20 lines
468 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: {{ include "woodpecker-server.fullname" . }}
labels:
{{- include "woodpecker-server.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- protocol: TCP
name: http
port: {{ .Values.service.port }}
targetPort: 8000
- protocol: TCP
name: grpc
port: 9000
targetPort: 9000
selector:
{{- include "woodpecker-server.selectorLabels" . | nindent 4 }}