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>
This commit is contained in:
Jason Staack
2026-03-17 18:45:45 -05:00
parent d2b75bdae8
commit 04f6d46082
2 changed files with 167 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
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 }}