blob: 4dc046652080c333bd1e2f0b1b63d78f080d10be [file] [log] [blame]
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-git-backend-service
labels:
app: git-backend
chart: {{ template "gerrit-replica.chart" . }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
spec:
{{ with .Values.gitBackend.service }}
ports:
- name: http
port: {{ .http.port }}
targetPort: 80
selector:
app: git-backend
type: {{ .type }}
{{- end }}