mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-01-31 03:12:45 +00:00
18 lines
482 B
YAML
18 lines
482 B
YAML
{{- if .Values.service.create }}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "baserow.fullname" . }}
|
|
namespace: {{ include "baserow.namespace" . }}
|
|
labels:
|
|
{{- include "baserow.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
targetPort: {{ .Values.service.targetPort }}
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
{{- include "baserow.selectorLabels" . | nindent 4 }}
|
|
{{- end }}
|