vitalied | 1e5876c | 2018-03-29 10:24:27 -0500 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: Service |
| 3 | metadata: |
| 4 | annotations: |
| 5 | service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 6 | name: {{ include "common.servicename" . }} |
vitalied | 1e5876c | 2018-03-29 10:24:27 -0500 | [diff] [blame] | 7 | namespace: {{ include "common.namespace" . }} |
| 8 | labels: |
| 9 | app: {{ include "common.fullname" . }} |
| 10 | chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" |
| 11 | release: "{{ .Release.Name }}" |
| 12 | heritage: "{{ .Release.Service }}" |
| 13 | spec: |
| 14 | ports: |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 15 | - name: {{ .Values.service.portName }} |
vitalied | 1e5876c | 2018-03-29 10:24:27 -0500 | [diff] [blame] | 16 | port: {{ .Values.service.internalPort }} |
| 17 | clusterIP: None |
| 18 | selector: |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 19 | app: {{ include "common.fullname" . }} |