Files
Jason Staack 04f6d46082 feat(helm): add API deployment and service templates
Includes two init containers (VPN route setup, Alembic migrations),
secret refs for JWT/encryption/OpenBao/SMTP, and PVC mounts for
git-store, firmware-cache, and wireguard config.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 18:45:45 -05:00

16 lines
428 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "tod.fullname" . }}-api
labels:
{{- include "tod.componentLabels" (dict "context" . "component" "api") | nindent 4 }}
spec:
type: ClusterIP
ports:
- name: http
port: {{ .Values.api.service.port }}
targetPort: http
protocol: TCP
selector:
{{- include "tod.componentSelectorLabels" (dict "context" . "component" "api") | nindent 4 }}