From 1fcbb9f7f2067256c66b3718c67cf90d9674924b Mon Sep 17 00:00:00 2001 From: sonicaj Date: Fri, 24 Mar 2023 21:22:08 +0000 Subject: [PATCH] Update catalog information --- catalog.json | 10 +- charts/emby/1.0.17/.helmignore | 24 +++ charts/emby/1.0.17/Chart.lock | 6 + charts/emby/1.0.17/Chart.yaml | 23 +++ charts/emby/1.0.17/README.md | 5 + charts/emby/1.0.17/app-readme.md | 3 + charts/emby/1.0.17/charts/common-2207.0.0.tgz | Bin 0 -> 4974 bytes charts/emby/1.0.17/ci/test-values.yaml | 15 ++ charts/emby/1.0.17/ix_values.yaml | 4 + charts/emby/1.0.17/questions.yaml | 194 ++++++++++++++++++ charts/emby/1.0.17/templates/NOTES.txt | 7 + charts/emby/1.0.17/templates/deployment.yaml | 79 +++++++ charts/emby/1.0.17/templates/portal.tpl | 10 + charts/emby/1.0.17/templates/service-tcp.yaml | 17 ++ charts/emby/1.0.17/templates/service-udp.yaml | 6 + charts/emby/item.yaml | 3 + 16 files changed, 401 insertions(+), 5 deletions(-) create mode 100644 charts/emby/1.0.17/.helmignore create mode 100644 charts/emby/1.0.17/Chart.lock create mode 100644 charts/emby/1.0.17/Chart.yaml create mode 100644 charts/emby/1.0.17/README.md create mode 100644 charts/emby/1.0.17/app-readme.md create mode 100644 charts/emby/1.0.17/charts/common-2207.0.0.tgz create mode 100644 charts/emby/1.0.17/ci/test-values.yaml create mode 100644 charts/emby/1.0.17/ix_values.yaml create mode 100644 charts/emby/1.0.17/questions.yaml create mode 100644 charts/emby/1.0.17/templates/NOTES.txt create mode 100644 charts/emby/1.0.17/templates/deployment.yaml create mode 100644 charts/emby/1.0.17/templates/portal.tpl create mode 100644 charts/emby/1.0.17/templates/service-tcp.yaml create mode 100644 charts/emby/1.0.17/templates/service-udp.yaml create mode 100644 charts/emby/item.yaml diff --git a/catalog.json b/catalog.json index a0c40b2e09..3dadcfde0d 100644 --- a/catalog.json +++ b/catalog.json @@ -71,7 +71,7 @@ "latest_version": "1.7.33", "latest_app_version": "1.31.2.6810", "latest_human_version": "1.31.2.6810_1.7.33", - "last_update": "2023-03-24 21:20:22", + "last_update": "2023-03-24 21:21:05", "name": "plex", "recommended": false, "title": "Plex", @@ -274,13 +274,13 @@ "healthy": true, "healthy_error": null, "location": "/__w/charts/charts/charts/emby", - "latest_version": "1.0.16", + "latest_version": "1.0.17", "latest_app_version": "4.7.11.0", - "latest_human_version": "4.7.11.0_1.0.16", - "last_update": "2022-12-28 00:00:17", + "latest_human_version": "4.7.11.0_1.0.17", + "last_update": "2023-03-24 21:21:30", "name": "emby", "recommended": false, - "title": "Emby", + "title": "Emby Server", "icon_url": "https://images-na.ssl-images-amazon.com/images/I/41NwssJC1iL.png" } }, diff --git a/charts/emby/1.0.17/.helmignore b/charts/emby/1.0.17/.helmignore new file mode 100644 index 0000000000..e559de0a01 --- /dev/null +++ b/charts/emby/1.0.17/.helmignore @@ -0,0 +1,24 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ +# OWNERS file for Kubernetes +OWNERS diff --git a/charts/emby/1.0.17/Chart.lock b/charts/emby/1.0.17/Chart.lock new file mode 100644 index 0000000000..b20dbb733c --- /dev/null +++ b/charts/emby/1.0.17/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: common + repository: file://../../../common/2207.0.0 + version: 2207.0.0 +digest: sha256:a301ba0f99ec1e08a60a7f0a0320aa02d225993572f2f056f09520f06df88b37 +generated: "2023-03-21T15:08:12.743996333Z" diff --git a/charts/emby/1.0.17/Chart.yaml b/charts/emby/1.0.17/Chart.yaml new file mode 100644 index 0000000000..969a540b71 --- /dev/null +++ b/charts/emby/1.0.17/Chart.yaml @@ -0,0 +1,23 @@ +name: emby +description: Emby Server +annotations: + title: Emby Server +type: application +version: 1.0.17 +apiVersion: v2 +appVersion: '4.7.11.0' +kubeVersion: '>=1.16.0-0' +maintainers: + - name: truenas + url: https://www.truenas.com/ +dependencies: + - name: common + repository: file://../../../common/2207.0.0 + version: 2207.0.0 +home: https://emby.media/ +icon: https://images-na.ssl-images-amazon.com/images/I/41NwssJC1iL.png +sources: + - https://hub.docker.com/r/emby/embyserver +keywords: + - emby + - media diff --git a/charts/emby/1.0.17/README.md b/charts/emby/1.0.17/README.md new file mode 100644 index 0000000000..3f1c5438ab --- /dev/null +++ b/charts/emby/1.0.17/README.md @@ -0,0 +1,5 @@ +# Emby Server helm chart + +## Configuration + +Please refer to questions.yaml for a detailed overview on supported configurable items. diff --git a/charts/emby/1.0.17/app-readme.md b/charts/emby/1.0.17/app-readme.md new file mode 100644 index 0000000000..e9a7916971 --- /dev/null +++ b/charts/emby/1.0.17/app-readme.md @@ -0,0 +1,3 @@ +# Emby Server + +Emby Server is a personal media server with apps on just about every device diff --git a/charts/emby/1.0.17/charts/common-2207.0.0.tgz b/charts/emby/1.0.17/charts/common-2207.0.0.tgz new file mode 100644 index 0000000000000000000000000000000000000000..e414925f3b910e596c6d3b7a41175600e8171f6e GIT binary patch literal 4974 zcmV-!6Ors6iwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PH<$bKAC-{j6VcmPzMY*_wLV-tkOl)@$e9dYU?!IFoxjJ3A^w zLK13{U;t2#Hue7Y9lS{JCCPTIB(3nl7RiHy1K_-PZ~z80j%m_6Umzy@6^f(pK7Z-= z`~BnbSpDz!`_=#bVZZ;~U_9<0kH+J{=;*utU^qTH`VRU}KufJ;Tp;#c|Iuw#JNJzg zl#=(DaYB<*SPnZVO^eGxC&WBpBo*rV3?edRh^-)y+yXPofcy(y&t@bbD1vh&P(2LN?Eq*c@#zzgB#5%GKrSC}+k~lkg<|Z14}ZXi zj0y~QcLoDbQJ~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Kiu=LWq|*qA4W!){>Q} sbR#uEwJGUZg8=%o2+aQ$^xVGe%f9T(zLd-V2LJ&7|C)I?!~lu_0H5aM`~Uy| literal 0 HcmV?d00001 diff --git a/charts/emby/1.0.17/ci/test-values.yaml b/charts/emby/1.0.17/ci/test-values.yaml new file mode 100644 index 0000000000..9c46592c7d --- /dev/null +++ b/charts/emby/1.0.17/ci/test-values.yaml @@ -0,0 +1,15 @@ +appVolumeMounts: + config: + emptyDir: true + mountPath: /config +embyServerHttp: + port: 32496 +emptyDirVolumes: true +environmentVariables: [] +extraAppVolumeMounts: +- hostPath: /mnt/extras/something + mountPath: /mnt/extras + readOnly: true +gpuConfiguration: {} +hostNetwork: false +updateStrategy: Recreate diff --git a/charts/emby/1.0.17/ix_values.yaml b/charts/emby/1.0.17/ix_values.yaml new file mode 100644 index 0000000000..1266ae06bb --- /dev/null +++ b/charts/emby/1.0.17/ix_values.yaml @@ -0,0 +1,4 @@ +image: + pullPolicy: IfNotPresent + repository: emby/embyserver + tag: 4.7.11.0 diff --git a/charts/emby/1.0.17/questions.yaml b/charts/emby/1.0.17/questions.yaml new file mode 100644 index 0000000000..fa860589b4 --- /dev/null +++ b/charts/emby/1.0.17/questions.yaml @@ -0,0 +1,194 @@ +groups: + - name: "Emby Server Configuration" + description: "Configure Emby Server" + - name: "Networking" + description: "Configure networking for container" + - name: "Storage" + description: "Persist and share data that is separate from the lifecycle of the container" + - name: "Workload Details" + description: "Configure how workload should be deployed" + - name: "Scaling/Upgrade Policy" + description: "Configure how pods are replaced when configuration is upgraded" + - name: "Restart Policy" + description: "Configure when pod should be restarted in case of failure" + - name: "Resource Reservation" + description: "Specify resources to be allocated to workload" + - name: "Resource Limits" + description: "Set CPU/memory limits for Kubernetes Pod" + +portals: + web_portal: + protocols: + - "http" + host: + - "$node_ip" + ports: + - "$kubernetes-resource_configmap_portal_port" + path: "/web" + +questions: + - variable: hostNetwork + label: "Enable Host Network" + group: "Networking" + schema: + type: boolean + default: false + + - variable: environmentVariables + label: "Environment Variables for Emby Server" + group: "Emby Server Configuration" + schema: + type: list + default: [] + items: + - variable: environmentVariable + label: "Environment Variable" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + + # Update strategy + - variable: updateStrategy + description: "Upgrade Policy" + label: "Update Strategy" + group: "Scaling/Upgrade Policy" + schema: + type: string + default: "Recreate" + enum: + - value: "RollingUpdate" + description: "Create new pods and then kill old ones" + - value: "Recreate" + description: "Kill existing pods before creating new ones" + + # Port configuration + - variable: embyServerHttp + label: "Configure Emby Server HTTP Service" + group: "Networking" + schema: + show_if: [[ "hostNetwork", "!=", true]] + type: dict + attrs: + - variable: port + label: "Port to expose for Emby Server UI" + schema: + type: int + min: 9000 + max: 65535 + default: 9096 + + # Specify GPU configuration + - variable: gpuConfiguration + label: "GPU Configuration" + group: "Resource Reservation" + schema: + type: dict + $ref: + - "definitions/gpuConfiguration" + attrs: [] + + - variable: appVolumeMounts + label: "Emby Server Storage" + group: "Storage" + schema: + type: dict + attrs: + - variable: config + label: "Config Volume" + schema: + type: dict + attrs: + - variable: datasetName + label: "Emby Server Config Volume Name" + schema: + type: string + $ref: + - "normalize/ixVolume" + show_if: [["hostPathEnabled", "=", false]] + default: "ix-emby_config" + editable: false + hidden: true + - variable: mountPath + label: "Emby Server Config Mount Path" + description: "Path where the volume will be mounted inside the pod" + schema: + type: path + editable: false + hidden: true + default: "/config" + - variable: hostPathEnabled + label: "Enable Host Path for Emby Server Config Volume" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: hostPath + label: "Host Path for Emby Server Config Volume" + schema: + type: hostpath + required: true + + - variable: extraAppVolumeMounts + label: "Emby Server Extra Host Path Volumes" + group: "Storage" + schema: + type: list + items: + - variable: extraAppVolume + label: "Emby Server Host Path Volume" + description: "Add an extra host path volume for emby application" + schema: + type: dict + attrs: + - variable: mountPath + label: "Mount Path in Pod" + description: "Path where the volume will be mounted inside the pod" + schema: + type: path + required: true + - variable: hostPath + label: "Host Path" + description: "Host path" + schema: + type: hostpath + required: true + - variable: readOnly + label: "Read Only" + description: "Mount hostpath in read-only mode" + schema: + type: boolean + default: false + + - variable: enableResourceLimits + label: "Enable Pod resource limits" + group: "Resource Limits" + schema: + type: boolean + default: false + - variable: cpuLimit + label: "CPU Limit" + description: "CPU resource limit allow plain integer values with suffix m(milli) e.g 1000m, 100." + group: "Resource Limits" + schema: + type: string + show_if: [["enableResourceLimits", "=", true]] + valid_chars: "^\\d+(?:\\.\\d+(?!.*m$)|m?$)" + default: "4000m" + - variable: memLimit + label: "Memory Limit" + group: "Resource Limits" + description: "Memory limits is specified by number of bytes. Followed by quantity suffix like E,P,T,G,M,k and Ei,Pi,Ti,Mi,Gi,Ki can also be used. e.g 129e6, 129M, 128974848000m, 123Mi" + schema: + type: string + show_if: [["enableResourceLimits", "=", true]] + valid_chars: "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$" + default: "8Gi" diff --git a/charts/emby/1.0.17/templates/NOTES.txt b/charts/emby/1.0.17/templates/NOTES.txt new file mode 100644 index 0000000000..d2e3ff976e --- /dev/null +++ b/charts/emby/1.0.17/templates/NOTES.txt @@ -0,0 +1,7 @@ +1. Get the application URL by running these commands: + +{{- if .Values.hostNetwork }} +http://$node_ip:8096/ +{{ else }} +http://$node_ip:{{ .Values.embyServerHttp.port }}/ +{{ end }} diff --git a/charts/emby/1.0.17/templates/deployment.yaml b/charts/emby/1.0.17/templates/deployment.yaml new file mode 100644 index 0000000000..acf5df3e81 --- /dev/null +++ b/charts/emby/1.0.17/templates/deployment.yaml @@ -0,0 +1,79 @@ +{{ include "common.storage.hostPathValidate" .Values }} +{{ include "common.deployment.common_config" . | nindent 0 }} +spec: {{ include "common.deployment.common_spec" . | nindent 2 }} + template: {{ include "common.deployment.pod.metadata" . | nindent 4 }} + spec: + {{- if .Values.hostNetwork }} + hostNetwork: {{ .Values.hostNetwork }} + dnsPolicy: ClusterFirstWithHostNet + {{- end }} + hostname: {{ template "common.names.fullname" . }} + containers: + - name: {{ .Chart.Name }} + {{ include "common.resources.limitation" . | nindent 10 }} + {{ include "common.containers.imageConfig" .Values.image | nindent 10 }} + volumeMounts: {{ include "common.storage.configureAppVolumeMountsInContainer" .Values | nindent 12 }} + {{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }} + - name: extrappvolume-{{ $index }} + mountPath: {{ $hostPathConfiguration.mountPath }} + {{ if $hostPathConfiguration.readOnly }} + readOnly: {{ $hostPathConfiguration.readOnly }} + {{ end }} + {{ end }} + ports: + - name: emby + protocol: TCP + containerPort: 8096 + - name: emby-dlna + protocol: UDP + containerPort: 1900 + - name: emby-lnd + protocol: UDP + containerPort: 7359 + env: + - name: KUBE_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: POD_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + {{ $envList := (default list .Values.environmentVariables) }} + {{ if and .Values.gpuConfiguration (hasKey .Values.gpuConfiguration "nvidia.com/gpu") (gt (get .Values.gpuConfiguration "nvidia.com/gpu" | toDecimal) 0) }} + {{ $envList = mustAppend $envList (dict "name" "NVIDIA_DRIVER_CAPABILITIES" "value" "all") }} + {{ end }} + {{ include "common.containers.environmentVariables" (dict "environmentVariables" $envList) | nindent 12 }} + readinessProbe: + httpGet: + path: /emby/System/Ping + port: 8096 + initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 5 + successThreshold: 2 + livenessProbe: + httpGet: + path: /emby/System/Ping + port: 8096 + initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 5 + successThreshold: 1 + startupProbe: + httpGet: + path: /emby/System/Ping + port: 8096 + initialDelaySeconds: 10 + periodSeconds: 5 + timeoutSeconds: 2 + failureThreshold: 60 + successThreshold: 1 + volumes: {{ include "common.storage.configureAppVolumes" .Values | nindent 8 }} + {{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }} + - name: extrappvolume-{{ $index }} + hostPath: + path: {{ $hostPathConfiguration.hostPath }} + {{ end }} diff --git a/charts/emby/1.0.17/templates/portal.tpl b/charts/emby/1.0.17/templates/portal.tpl new file mode 100644 index 0000000000..3cf73f3d06 --- /dev/null +++ b/charts/emby/1.0.17/templates/portal.tpl @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: portal +data: + {{- if .Values.hostNetwork }} + port: "8096" + {{- else }} + port: {{ .Values.embyServerHttp.port | quote }} + {{- end }} diff --git a/charts/emby/1.0.17/templates/service-tcp.yaml b/charts/emby/1.0.17/templates/service-tcp.yaml new file mode 100644 index 0000000000..7a5a7d7439 --- /dev/null +++ b/charts/emby/1.0.17/templates/service-tcp.yaml @@ -0,0 +1,17 @@ +{{ $svc := .Values.embyServerHttp }} +{{ $ports := list }} +{{ if .Values.hostNetwork }} +{{ $ports = mustAppend $ports (dict "name" "http" "port" 8096 "targetPort" 8096) }} +{{ else }} +{{ $ports = mustAppend $ports (dict "name" "http" "port" $svc.port "nodePort" $svc.port "targetPort" 8096) }} +{{ end }} +{{ $params := . }} +{{ $_ := set $params "commonService" (dict "ports" $ports ) }} +{{ if .Values.hostNetwork }} +{{ $_ := set $params.commonService "nameSuffix" "tcp-cluster-ip" }} +{{ $_1 := set $params.commonService "type" "ClusterIP" }} +{{ else }} +{{ $_ := set $params.commonService "nameSuffix" "tcp" }} +{{ $_1 := set $params.commonService "type" "NodePort" }} +{{ end }} +{{ include "common.classes.service" $params }} diff --git a/charts/emby/1.0.17/templates/service-udp.yaml b/charts/emby/1.0.17/templates/service-udp.yaml new file mode 100644 index 0000000000..e18769d83e --- /dev/null +++ b/charts/emby/1.0.17/templates/service-udp.yaml @@ -0,0 +1,6 @@ +{{ $ports := list }} +{{ $ports = mustAppend $ports (dict "name" "emby-dlna" "port" 1900 "protocol" "UDP" "targetPort" "emby-dlna") }} +{{ $ports = mustAppend $ports (dict "name" "emby-lnd" "port" 7359 "protocol" "UDP" "targetPort" "emby-lnd") }} +{{ $params := . }} +{{ $_ := set $params "commonService" (dict "type" "ClusterIP" "ports" $ports "nameSuffix" "udp" ) }} +{{ include "common.classes.service" $params }} diff --git a/charts/emby/item.yaml b/charts/emby/item.yaml new file mode 100644 index 0000000000..cea5828390 --- /dev/null +++ b/charts/emby/item.yaml @@ -0,0 +1,3 @@ +categories: + - entertainment +icon_url: https://images-na.ssl-images-amazon.com/images/I/41NwssJC1iL.png