Files
JFrog-Cloud-Installers/Openshift4/helm/openshift-pipelines/charts/pipelines/templates/pipelines-service-headless.yaml
2020-10-12 10:19:10 -07:00

22 lines
566 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "pipelines.services.name" . }}-headless
labels:
{{- include "pipelines.labels" . | nindent 4 }}
spec:
type: ClusterIP
clusterIP: None
ports:
- port: {{ .Values.pipelines.api.service.port }}
targetPort: 30000
protocol: TCP
name: api
- port: {{ .Values.pipelines.www.service.port }}
targetPort: 30001
protocol: TCP
name: www
selector:
{{- include "pipelines.selectorLabels" . | nindent 4 }}
component: {{ include "pipelines.services.name" . }}