mirror of
https://github.com/shadoll/helm-charts.git
synced 2026-08-28 03:27:08 +00:00
fix(jellyfin): downgrade to v10.11.10, exclude v10.11.11 from auto-update
v10.11.11 has a broken UpdateNormalizedUsername migration that queries a column that was never added to the schema. Pin to v10.11.10 and add version-exclude support to the update script so the daily bot skips the broken version until upstream fixes it. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+3
-2
@@ -4,5 +4,6 @@ description: A Helm chart for Jellyfin media server with Postgres support
|
||||
type: application
|
||||
annotations:
|
||||
version-source: ghcr-tags:rogly-net/jellyfin-postgresql:^v[0-9]+\.[0-9]+\.[0-9]+$
|
||||
version: 0.1.21
|
||||
appVersion: "v10.11.11"
|
||||
version-exclude: "v10.11.11"
|
||||
version: 0.1.22
|
||||
appVersion: "v10.11.10"
|
||||
|
||||
@@ -8,7 +8,7 @@ image:
|
||||
repository: ghcr.io/rogly-net/jellyfin-postgresql
|
||||
pullPolicy: IfNotPresent
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
tag: "v10.11.11"
|
||||
tag: "v10.11.10"
|
||||
|
||||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
|
||||
@@ -108,6 +108,7 @@ for chart_dir in "$REPO_ROOT"/*/; do
|
||||
# Parse metadata
|
||||
source_type=$(grep "version-source:" "$chart_yaml" | sed 's/.*version-source: *//' | tr -d ' ' || true)
|
||||
source_pattern=$(grep "version-pattern:" "$chart_yaml" | sed 's/.*version-pattern: *//' | sed 's/^"\(.*\)"$/\1/' || true)
|
||||
version_exclude=$(grep "version-exclude:" "$chart_yaml" | sed 's/.*version-exclude: *"\([^"]*\)".*/\1/' || true)
|
||||
current_app_version=$(grep "^appVersion:" "$chart_yaml" | head -1 | sed 's/.*appVersion: *"\([^"]*\)".*/\1/' || true)
|
||||
current_chart_version=$(grep "^version:" "$chart_yaml" | head -1 | sed 's/.*version: *//' | tr -d ' ' || true)
|
||||
|
||||
@@ -132,6 +133,11 @@ for chart_dir in "$REPO_ROOT"/*/; do
|
||||
continue
|
||||
fi
|
||||
|
||||
if [ -n "$version_exclude" ] && [ "$latest_clean" = "$version_exclude" ]; then
|
||||
echo " Skipping excluded version: $latest_clean"
|
||||
continue
|
||||
fi
|
||||
|
||||
echo " Current: $current_app_version | Latest: $latest_clean"
|
||||
|
||||
# Compare and Update
|
||||
|
||||
Reference in New Issue
Block a user