fukuops/k8s/charts/immich/templates/service.yaml
cătălin 1fd2bfef3d
feat(helm): complete chart normalization with ConfigMap, HPA, and OCI migration
- Added debug mode, structured ConfigMap pattern, and README to all charts
- Migrated all flat-structure charts to hierarchical values under chartname key
- Fixed templates to use correct hierarchical paths
- Renamed helm-rustical key to rustical, added HPA support
- Fixed ingress YAML parsing (oxicloud), nested env vars (rustical)
- Pushed all normalized charts to OCI registry as 1.0.0+ and updated ArgoCD apps
2026-08-14 09:35:19 +02:00

36 lines
997 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "immich.fullname" . }}
labels:
{{- include "immich.labels" . | nindent 4 }}
spec:
type: {{ .Values.immich.service.type }}
ports:
- port: {{ .Values.immich.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "immich.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: server
---
{{- if .Values.immich.machineLearning.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ include "immich.fullname" . }}-machine-learning
labels:
{{- include "immich.labels" . | nindent 4 }}
app.kubernetes.io/component: machine-learning
spec:
type: {{ .Values.immich.machineLearning.service.type }}
ports:
- port: {{ .Values.immich.machineLearning.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "immich.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: machine-learning
{{- end }}