Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

994 B
Raw Blame
apiVersion: v1
kind: Service
metadata:
  name: {{ include "activepieces.fullname" . }}
  labels:
    {{- include "activepieces.labels" . | nindent 4 }}
spec:
  type: {{ .Values.service.type }}
  ports:
    - port: {{ .Values.service.port }}
      targetPort: http
      protocol: TCP
      name: http
    - port: 3000
      targetPort: 3000
      protocol: TCP
      name: api
  selector:
    {{- include "activepieces.selectorLabels" . | nindent 4 }}
{{- if ne (include "activepieces.workloadType" .) "statefulset" }}
---
apiVersion: v1
kind: Service
metadata:
  name: {{ include "activepieces.fullname" . }}-preview
  labels:
    {{- include "activepieces.labels" . | nindent 4 }}
spec:
  type: {{ .Values.service.type }}
  ports:
    - port: {{ .Values.service.port }}
      targetPort: http
      protocol: TCP
      name: http
    - port: 3000
      targetPort: 3000
      protocol: TCP
      name: api
  selector:
    {{- include "activepieces.selectorLabels" . | nindent 4 }}
{{- end }}