Sumit Ghosh bbccef7466
Fix/1370 - Updated script related changes for helm 3.x and k8s 1.16.x (#1378)
* Fix for helm 3 and k8s 1.16

* Inclusion of archived directory under k8s

* separate deploy-all powershell script for local Mac OS deployment.
2020-07-28 17:36:43 +05:30

20 lines
486 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ template "mongo-name" . }}
labels:
app: {{ template "nosql-data.name" . }}
chart: {{ template "nosql-data.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
app: {{ template "nosql-data.name" . }}
release: {{ .Release.Name }}