Pattern adapted from arcodange-org/webapp. Degraded mode : no DB / no SMTP / no Vault yet, just serves the binary + swagger + healthz. Subsequent PRs will add Vault auth + Postgres dynamic credentials + SMTP config. Ingress route : dancecoachlessons.arcodange.lab (homelab internal).
16 lines
397 B
YAML
16 lines
397 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "dance-lessons-coach.fullname" . }}
|
|
labels:
|
|
{{- include "dance-lessons-coach.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
targetPort: http
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
{{- include "dance-lessons-coach.selectorLabels" . | nindent 4 }}
|