From e4ecf55fc1b82e40a6cc2e914ce797083cc9efba Mon Sep 17 00:00:00 2001 From: WrenIX Date: Mon, 10 Jun 2024 22:57:39 +0200 Subject: [PATCH] fix(jellyfin): update AppVersion to v10.9.6 --- jellyfin/Chart.yaml | 6 ++--- jellyfin/README.adoc | 23 +++++++++++++++---- jellyfin/templates/deployment.yaml | 6 +++-- jellyfin/templates/tests/test-connection.yaml | 15 ------------ jellyfin/values.yaml | 14 +++++++---- 5 files changed, 35 insertions(+), 29 deletions(-) delete mode 100644 jellyfin/templates/tests/test-connection.yaml diff --git a/jellyfin/Chart.yaml b/jellyfin/Chart.yaml index ae1efc9..2eb6069 100644 --- a/jellyfin/Chart.yaml +++ b/jellyfin/Chart.yaml @@ -3,9 +3,9 @@ name: jellyfin description: The Free Software Media System icon: https://raw.githubusercontent.com/jellyfin/jellyfin-ux/master/branding/SVG/icon-transparent.svg type: application -version: 0.1.6 -# renovate: image=docker.io/jellyfin/jellyfin -appVersion: "10.8.13-1" +version: 0.1.7 +# renovate: image=ghcr.io/jellyfin/jellyfin +appVersion: "10.9.6" maintainers: - name: WrenIX url: https://wrenix.eu diff --git a/jellyfin/README.adoc b/jellyfin/README.adoc index 746f467..75b9c04 100644 --- a/jellyfin/README.adoc +++ b/jellyfin/README.adoc @@ -2,9 +2,9 @@ = jellyfin -image::https://img.shields.io/badge/Version-0.1.6-informational?style=flat-square[Version: 0.1.6] +image::https://img.shields.io/badge/Version-0.1.7-informational?style=flat-square[Version: 0.1.7] image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application] -image::https://img.shields.io/badge/AppVersion-10.8.13-1-informational?style=flat-square[AppVersion: 10.8.13-1] +image::https://img.shields.io/badge/AppVersion-10.9.6-informational?style=flat-square[AppVersion: 10.9.6] == Maintainers .Maintainers @@ -77,20 +77,35 @@ helm uninstall jellyfin-release | `""` | +| global.image.pullPolicy +| string +| `nil` +| if set it will overwrite all pullPolicy + +| global.image.registry +| string +| `nil` +| if set it will overwrite all registry entries + | image.pullPolicy | string | `"IfNotPresent"` | +| image.registry +| string +| `"ghcr.io"` +| + | image.repository | string -| `"docker.io/jellyfin/jellyfin"` +| `"jellyfin/jellyfin"` | | image.tag | string | `""` -| +| Overrides the image tag whose default is the chart appVersion. | imagePullSecrets | list diff --git a/jellyfin/templates/deployment.yaml b/jellyfin/templates/deployment.yaml index f1585f0..348c8fe 100644 --- a/jellyfin/templates/deployment.yaml +++ b/jellyfin/templates/deployment.yaml @@ -36,8 +36,10 @@ spec: - name: {{ .Chart.Name }} securityContext: {{- toYaml .Values.securityContext | nindent 12 }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} + {{- with .Values.image}} + image: "{{ coalesce $.Values.global.image.registry .registry }}/{{ .repository }}:{{ .tag | default $.Chart.AppVersion }}" + imagePullPolicy: {{ coalesce $.Values.global.image.pullPolicy .pullPolicy }} + {{- end }} ports: - name: http containerPort: {{ .Values.service.port }} diff --git a/jellyfin/templates/tests/test-connection.yaml b/jellyfin/templates/tests/test-connection.yaml deleted file mode 100644 index 98fb0ee..0000000 --- a/jellyfin/templates/tests/test-connection.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "jellyfin.fullname" . }}-test-connection" - labels: - {{- include "jellyfin.labels" . | nindent 4 }} - annotations: - "helm.sh/hook": test -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "jellyfin.fullname" . }}:{{ .Values.service.port }}'] - restartPolicy: Never diff --git a/jellyfin/values.yaml b/jellyfin/values.yaml index a2e87ab..e714d7e 100644 --- a/jellyfin/values.yaml +++ b/jellyfin/values.yaml @@ -1,13 +1,17 @@ -# Default values for jellyfin. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. +global: + image: + # -- if set it will overwrite all registry entries + registry: + # -- if set it will overwrite all pullPolicy + pullPolicy: replicaCount: 1 image: - repository: docker.io/jellyfin/jellyfin + registry: ghcr.io + repository: jellyfin/jellyfin pullPolicy: IfNotPresent - # Overrides the image tag whose default is the chart appVersion. + # -- Overrides the image tag whose default is the chart appVersion. tag: "" imagePullSecrets: []