feat(ingress): ✨ add label support for ingress (#25)

This commit is contained in:
Lars authored and GitHub committed 2024-09-12 13:45:59 -06:00 Unverified
1 parent 33dbc91aec
commit 9b2f97d20d
2 files changed
+5

No files matched your search

+4
View File
@@ -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 }}