summaryrefslogtreecommitdiffstats
path: root/kubernetes/vid/charts/vid-galera/templates/service.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-06-04 18:30:08 +0000
committerGerrit Code Review <gerrit@onap.org>2018-06-04 18:30:08 +0000
commit71e6b72212beb946305ca3e9c17b8898a5378923 (patch)
tree62bb22b8b64ae03182b75c675867a71fa8279d89 /kubernetes/vid/charts/vid-galera/templates/service.yaml
parent71bf8ec6164c9c083346fe51d8a4048e65724510 (diff)
parent2dda01daf2e5c2053221bf4eac81e2585f2b2c7f (diff)
Merge "VID Resiliency & Scalability"
Diffstat (limited to 'kubernetes/vid/charts/vid-galera/templates/service.yaml')
-rw-r--r--kubernetes/vid/charts/vid-galera/templates/service.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/kubernetes/vid/charts/vid-galera/templates/service.yaml b/kubernetes/vid/charts/vid-galera/templates/service.yaml
new file mode 100644
index 0000000000..348baa9ddc
--- /dev/null
+++ b/kubernetes/vid/charts/vid-galera/templates/service.yaml
@@ -0,0 +1,20 @@
+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" . }}