Files
2021-10-24 09:41:26 +03:00

34 lines
794 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "n8n.fullname" . }}-main
labels:
{{- include "n8n.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "n8n.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: main
---
apiVersion: v1
kind: Service
metadata:
name: {{ include "n8n.fullname" . }}-webhook
labels:
{{- include "n8n.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "n8n.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: webhook