first commit
This commit is contained in:
18
notely/templates/mongodb-service.yaml
Normal file
18
notely/templates/mongodb-service.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
{{- if .Values.mongodb.enabled }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "notely.mongodb.fullname" . }}
|
||||
labels:
|
||||
{{- include "notely.labels" . | nindent 4 }}
|
||||
spec:
|
||||
clusterIP: None
|
||||
ports:
|
||||
- port: 27017
|
||||
targetPort: mongodb
|
||||
protocol: TCP
|
||||
name: mongodb
|
||||
selector:
|
||||
app.kubernetes.io/name: {{ include "notely.name" . }}-mongodb
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user