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