oc-tools/oc-mongo-helm/templates/service.yaml

14 lines
231 B
YAML

apiVersion: v1
kind: Service
metadata:
name: mongo
labels:
app: mongo
spec:
selector:
app: mongo
ports:
- protocol: TCP
port: {{ .Values.service.port }}
targetPort: {{ .Values.mongo.containerPort }}