chore: Bump version for Home Assistant and Jellyfin charts, add failedJobsHistoryLimit to CronJobs

This commit is contained in:
sha
2026-04-11 13:29:53 +03:00
parent c2fb3b646b
commit dcce839e7e
9 changed files with 24 additions and 6 deletions
+1 -1
View File
@@ -5,5 +5,5 @@ type: application
annotations: annotations:
version-source: github-release:home-assistant/core version-source: github-release:home-assistant/core
version-pattern: "s|^v||" version-pattern: "s|^v||"
version: 0.1.18 version: 0.1.19
appVersion: "2026.4.1" appVersion: "2026.4.1"
@@ -9,6 +9,8 @@ metadata:
labels: labels:
{{- include "home-assistant.labels" . | nindent 4 }} {{- include "home-assistant.labels" . | nindent 4 }}
spec: spec:
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
schedule: {{ .Values.backup.schedule | quote }} schedule: {{ .Values.backup.schedule | quote }}
jobTemplate: jobTemplate:
spec: spec:
@@ -9,6 +9,8 @@ metadata:
labels: labels:
{{- include "home-assistant.labels" . | nindent 4 }} {{- include "home-assistant.labels" . | nindent 4 }}
spec: spec:
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
schedule: {{ .Values.pvcBackup.schedule | quote }} schedule: {{ .Values.pvcBackup.schedule | quote }}
jobTemplate: jobTemplate:
spec: spec:
+3 -3
View File
@@ -3,7 +3,7 @@ name: jellyfin
description: A Helm chart for Jellyfin media server with Postgres support description: A Helm chart for Jellyfin media server with Postgres support
type: application type: application
annotations: annotations:
version-source: github-release:jellyfin/jellyfin version-source: ghcr-tags:rogly-net/jellyfin-postgresql:^v[0-9]+\.[0-9]+\.[0-9]+$
version-pattern: "s|^v||" version-pattern: "s|^v||"
version: 0.1.16 version: 0.1.17
appVersion: "10.11.8" appVersion: "10.11.6"
+2
View File
@@ -9,6 +9,8 @@ metadata:
labels: labels:
{{- include "jellyfin.labels" . | nindent 4 }} {{- include "jellyfin.labels" . | nindent 4 }}
spec: spec:
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
schedule: {{ .Values.backup.schedule | quote }} schedule: {{ .Values.backup.schedule | quote }}
jobTemplate: jobTemplate:
spec: spec:
+1 -1
View File
@@ -8,7 +8,7 @@ image:
repository: ghcr.io/rogly-net/jellyfin-postgresql repository: ghcr.io/rogly-net/jellyfin-postgresql
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion. # Overrides the image tag whose default is the chart appVersion.
tag: "10.11.8" tag: "v10.11.6"
nameOverride: "" nameOverride: ""
fullnameOverride: "" fullnameOverride: ""
+10
View File
@@ -30,6 +30,16 @@ fetch_latest() {
local pattern="${source_data#*:}" local pattern="${source_data#*:}"
version=$(curl -s "https://registry.hub.docker.com/v2/repositories/$repo/tags?page_size=100" | jq -r '.results[].name' | grep -E "$pattern" | head -1) version=$(curl -s "https://registry.hub.docker.com/v2/repositories/$repo/tags?page_size=100" | jq -r '.results[].name' | grep -E "$pattern" | head -1)
;; ;;
"ghcr-tags")
local repo="${source_data%%:*}"
local pattern="${source_data#*:}"
[ "$pattern" = "$source_data" ] && pattern='^v?[0-9]+\.[0-9]+\.[0-9]+$'
local token
token=$(curl -s "https://ghcr.io/token?scope=repository:${repo}:pull" | jq -r '.token // empty')
if [ -n "$token" ]; then
version=$(curl -s -H "Authorization: Bearer $token" "https://ghcr.io/v2/${repo}/tags/list" | jq -r '.tags[]' | grep -E "$pattern" | sort -V -r | head -1)
fi
;;
*) *)
return 1 return 1
;; ;;
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v2
name: uptime-kuma name: uptime-kuma
description: Uptime Kuma Helm chart description: Uptime Kuma Helm chart
type: application type: application
version: 0.1.3 version: 0.1.4
appVersion: "2.2.1" appVersion: "2.2.1"
annotations: annotations:
version-source: github-release:louislam/uptime-kuma version-source: github-release:louislam/uptime-kuma
@@ -4,6 +4,8 @@ kind: CronJob
metadata: metadata:
name: {{ .Release.Name }}-backup name: {{ .Release.Name }}-backup
spec: spec:
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
schedule: {{ .Values.backup.schedule | quote }} schedule: {{ .Values.backup.schedule | quote }}
jobTemplate: jobTemplate:
spec: spec: