charts/watcher/templates/service.yaml
2020-07-27 16:29:11 +08:00

16 lines
364 B
YAML

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