forked from suse-edge/Factory
14 lines
348 B
YAML
14 lines
348 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: {{ .Values.global.databaseServiceName }}
|
||
|
labels:
|
||
|
{{- include "mariadb.labels" . | nindent 4 }}
|
||
|
spec:
|
||
|
type: {{ .Values.service.type }}
|
||
|
selector:
|
||
|
{{- include "mariadb.selectorLabels" . | nindent 4 }}
|
||
|
ports:
|
||
|
{{- with .Values.service.ports }}
|
||
|
{{- toYaml . | nindent 2 }}
|
||
|
{{- end }}
|