wikijs-fork/dev/helm/templates/service.yaml

16 lines
352 B
YAML
Raw Normal View History

2019-05-04 03:45:54 +00:00
apiVersion: v1
kind: Service
metadata:
name: {{ include "wiki.fullname" . }}
2019-05-04 03:45:54 +00:00
labels:
{{- include "wiki.labels" . | nindent 4 }}
2019-05-04 03:45:54 +00:00
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
2019-05-04 03:45:54 +00:00
selector:
{{- include "wiki.selectorLabels" . | nindent 4 }}