mirror of
https://github.com/truenas/charts.git
synced 2026-04-13 17:52:13 +08:00
emby - set discovery ports as udp and fix migration (#2075)
This commit is contained in:
@@ -3,7 +3,7 @@ description: Emby is designed to help you manage your personal media library, su
|
||||
annotations:
|
||||
title: Emby Server
|
||||
type: application
|
||||
version: 2.0.0
|
||||
version: 2.0.1
|
||||
apiVersion: v2
|
||||
appVersion: 4.7.14.0
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
@@ -18,7 +18,9 @@ dependencies:
|
||||
home: https://emby.media/
|
||||
icon: https://media.sys.truenas.net/apps/emby/icons/icon.png
|
||||
sources:
|
||||
- https://emby.media/
|
||||
- https://hub.docker.com/r/emby/embyserver
|
||||
- https://github.com/truenas/charts/tree/master/charts/emby
|
||||
keywords:
|
||||
- emby
|
||||
- media
|
||||
|
||||
@@ -25,7 +25,7 @@ def migrate_common_lib(values):
|
||||
values.update({
|
||||
# Migrate Network
|
||||
'embyNetwork': {
|
||||
'webPort': values['embyServerHttp'],
|
||||
'webPort': values['embyServerHttp']['port'],
|
||||
'hostNetwork': values['hostNetwork'],
|
||||
},
|
||||
# Migrate Resources
|
||||
@@ -58,6 +58,7 @@ def migrate_common_lib(values):
|
||||
for e in values.get('extraAppVolumeMounts', [])
|
||||
],
|
||||
},
|
||||
'embyGPU': values.get('gpuConfiguration', {}),
|
||||
})
|
||||
|
||||
for k in delete_keys:
|
||||
|
||||
@@ -26,10 +26,12 @@ service:
|
||||
primary: true
|
||||
port: 1900
|
||||
targetPort: 1900
|
||||
protocol: udp
|
||||
targetSelector: emby
|
||||
local-discovery:
|
||||
enabled: true
|
||||
port: 7359
|
||||
targetPort: 7359
|
||||
protocol: udp
|
||||
targetSelector: emby
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user