AutoGPT/rnd/infra/helm/autogpt-builder/templates/service.yaml

20 lines
515 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "autogpt-builder.fullname" . }}
labels:
{{- include "autogpt-builder.labels" . | nindent 4 }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: {{ .Values.service.targetPort }}
protocol: TCP
name: http
selector:
{{- include "autogpt-builder.selectorLabels" . | nindent 4 }}