mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-11 11:06:29 +00:00
20 lines
468 B
YAML
20 lines
468 B
YAML
|
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 }}
|