charts/helm-web/templates/service.yaml
2020-10-06 22:25:45 +08:00

16 lines
364 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "helm-web.fullname" . }}
labels:
{{- include "helm-web.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "helm-web.selectorLabels" . | nindent 4 }}