diff --git a/charts/jellyfin/templates/ingress.yaml b/charts/jellyfin/templates/ingress.yaml index d82137f..3f01fca 100644 --- a/charts/jellyfin/templates/ingress.yaml +++ b/charts/jellyfin/templates/ingress.yaml @@ -1,5 +1,6 @@ {{- if .Values.ingress.enabled -}} {{- $fullName := include "jellyfin.fullname" . -}} +{{- $servicePort := .Values.service.port -}} {{- $ingressPath := .Values.ingress.path -}} apiVersion: networking.k8s.io/v1 kind: Ingress @@ -10,6 +11,9 @@ metadata: helm.sh/chart: {{ include "jellyfin.chart" . }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: {{ .Release.Service }} + {{- with .Values.ingress.labels }} + {{- toYaml . | nindent 4 }} + {{- end }} {{- with .Values.ingress.annotations }} annotations: {{ toYaml . | indent 4 }} diff --git a/charts/jellyfin/values.yaml b/charts/jellyfin/values.yaml index f0e2b75..618f448 100644 --- a/charts/jellyfin/values.yaml +++ b/charts/jellyfin/values.yaml @@ -39,6 +39,7 @@ service: ingress: enabled: false + labels: {} annotations: {} # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true"