2024-10-22 10:51:51 +03:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: {{ .Values.global.databaseServiceName }}
|
|
|
|
labels:
|
|
|
|
{{- include "mariadb.labels" . | nindent 4 }}
|
|
|
|
spec:
|
2025-08-06 16:32:56 +00:00
|
|
|
ipFamilyPolicy: PreferDualStack
|
2024-10-22 10:51:51 +03:00
|
|
|
type: {{ .Values.service.type }}
|
|
|
|
selector:
|
|
|
|
{{- include "mariadb.selectorLabels" . | nindent 4 }}
|
|
|
|
ports:
|
|
|
|
{{- with .Values.service.ports }}
|
|
|
|
{{- toYaml . | nindent 2 }}
|
2025-08-06 16:32:56 +00:00
|
|
|
{{- end }}
|