| apiVersion: v1 |
| kind: Service |
| metadata: |
| annotations: |
| service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" |
| # name: {{ include "common.servicename" . }} |
| name: {{ .Values.service.name }} |
| 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" . }} |