1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-01-31 03:12:45 +00:00
bramw_baserow/deploy/helm/baserow/charts/baserow-common/templates/service.yaml
2024-07-18 15:29:01 +00:00

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 }}