Add ingress
This commit is contained in:
parent
f797416bec
commit
b60f2a7407
@ -1,12 +1,12 @@
|
||||
{{- if .Values.ingress.external.enabled -}}
|
||||
{{- $fullName := include "emby.fullname" . -}}
|
||||
{{- $fullName := include "jellyfin.fullname" . -}}
|
||||
{{- $svcPort := .Values.service.port -}}
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ $fullName }}-ext
|
||||
labels:
|
||||
{{- include "emby.labels" . | nindent 4 }}
|
||||
{{- include "jellyfin.labels" . | nindent 4 }}
|
||||
{{- with .Values.ingress.external.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
@ -40,14 +40,14 @@ spec:
|
||||
{{- end }}
|
||||
---
|
||||
{{- if .Values.ingress.internal.enabled -}}
|
||||
{{- $fullName := include "emby.fullname" . -}}
|
||||
{{- $fullName := include "jellyfin.fullname" . -}}
|
||||
{{- $svcPort := .Values.service.port -}}
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ $fullName }}-int
|
||||
labels:
|
||||
{{- include "emby.labels" . | nindent 4 }}
|
||||
{{- include "jellyfin.labels" . | nindent 4 }}
|
||||
{{- with .Values.ingress.external.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user