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 }}