summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mariadb-galera/templates/service.yaml
blob: d17d350b74a3002809c7970b39c9571ab4726bd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
apiVersion: v1
kind: Service
metadata:
  annotations:
    service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
  name: {{ include "common.servicename" . }}
  namespace: {{ include "common.namespace" . }}
  labels:
    app: {{ include "common.fullname" . }}
    chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
    release: "{{ .Release.Name }}"
    heritage: "{{ .Release.Service }}"
spec:
  ports:
    - name: {{ .Values.service.portName }}
      port: {{ .Values.service.internalPort }}
  clusterIP: None
  selector:
    app: {{ include "common.fullname" . }}