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:
15
infrastructure/helm/templates/api-service.yaml
Normal file
15
infrastructure/helm/templates/api-service.yaml
Normal 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 }}
|
||||
Reference in New Issue
Block a user