apiVersion: v1 kind: Service metadata: name: {{ include "erpnext.fullname" . }}-socketio labels: {{- include "erpnext.labels" . | nindent 4 }} spec: type: {{ .Values.socketIOService.type }} ports: - port: {{ .Values.socketIOService.port }} targetPort: http protocol: TCP name: http selector: app.kubernetes.io/name: {{ include "erpnext.name" . }}-socketio app.kubernetes.io/instance: {{ .Release.Name }}-socketio