openclaw/charts/clawdbot/templates/service.yaml
sirily11 6635d70170
feat: add helm chart support (#1)
feat: enhance Helm chart workflows and update image references
2026-01-28 09:35:54 +08:00

20 lines
472 B
YAML

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