version tracking: tune annotations + add customManagers for linuxserver servarr
Several images were showing as outdated in version-checker / unhandled by Renovate. Each had a distinct cause; this PR fixes the auto-tractable ones. 1) admin-system/renovate.yaml: bump `app.kubernetes.io/version` labels `43.197.0 -> 43.209.3` (3 occurrences) to match the live image. Renovate's own self-update PR bumped the image tag but left the labels stale; the version-checker widget appears to read the label. Long-term, this label will drift again on each self-update -- worth a customManager later if it becomes a recurring annoyance. 2) admin-system/renovate.yaml: add a customManager + packageRule pair for linuxserver servarr apps. Tag pattern is `version-X.Y.Z.B` (4 segments + `version-` prefix) which the kubernetes manager's default docker versioning rejects at the pre-check, same failure class as termix. Regex versioning parses the prefixed 4-segment form; the same customManager handles prowlarr/radarr/sonarr (depName captured from the regex). kubernetes-manager extraction for these three depnames is disabled via packageRule so the dashboard isn't cluttered with the failing fallback. 3) nextcloud-system/nextcloud.yaml: add `match-regex.version-checker.io/nextcloud: '^\d+\.\d+\.\d+-apache$'` so version-checker doesn't treat the bare `33.0.5` server tag as a newer version of our `33.0.5-apache` image. The widget was showing `33.0.5-apache -> 33.0.5` -- false positive; image is already current. 4) helm/plex/values.yaml: tighten the version-checker regex from `^\d+\.\d+\.\d+\.\d+-.*$` to `^\d+\.\d+\.\d+\.\d+-[a-f0-9]+$` so per-arch tags (`-armhf`, `-arm64`, ...) are excluded. The widget was showing an `-armhf` tag as "newer" than our x86_64 install. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -62,6 +62,17 @@ data:
|
||||
"packageNameTemplate": "Termix-SSH/Termix",
|
||||
"versioningTemplate": "regex:^release-(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$",
|
||||
"extractVersionTemplate": "^(?<version>release-\\d+\\.\\d+\\.\\d+)"
|
||||
},
|
||||
{
|
||||
"description": "linuxserver servarr apps (prowlarr, radarr, sonarr) use tag pattern `version-X.Y.Z.B` (4 segments + `version-` prefix). The kubernetes manager's default docker versioning rejects them at the pre-check (same failure class as termix), so no PRs ever open. Use regex versioning to parse the prefixed 4-segment form; depName is captured from the regex so the same customManager handles all three apps.",
|
||||
"customType": "regex",
|
||||
"managerFilePatterns": ["/servarr-system/.+\\.ya?ml$/"],
|
||||
"matchStrings": [
|
||||
"image:\\s+linuxserver/(?<depName>prowlarr|radarr|sonarr):(?<currentValue>version-\\d+\\.\\d+\\.\\d+\\.\\d+)"
|
||||
],
|
||||
"datasourceTemplate": "docker",
|
||||
"packageNameTemplate": "linuxserver/{{depName}}",
|
||||
"versioningTemplate": "regex:^version-(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\.(?<build>\\d+)$"
|
||||
}
|
||||
],
|
||||
"packageRules": [
|
||||
@@ -128,6 +139,16 @@ data:
|
||||
"matchManagers": ["kubernetes"],
|
||||
"matchPackageNames": ["ghcr.io/lukegus/termix"],
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"description": "linuxserver servarr apps: same disable pattern as termix. The customManager above handles extraction with the right versioning; turn off the default kubernetes-manager extraction so it doesn't silently skip + clutter the dashboard.",
|
||||
"matchManagers": ["kubernetes"],
|
||||
"matchPackageNames": [
|
||||
"linuxserver/prowlarr",
|
||||
"linuxserver/radarr",
|
||||
"linuxserver/sonarr"
|
||||
],
|
||||
"enabled": false
|
||||
}
|
||||
],
|
||||
"labels": ["renovate"]
|
||||
@@ -141,7 +162,7 @@ metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: renovate
|
||||
app.kubernetes.io/name: renovate
|
||||
app.kubernetes.io/version: "43.197.0"
|
||||
app.kubernetes.io/version: "43.209.3"
|
||||
spec:
|
||||
# Sat 02:00 Europe/Budapest — leaves the full weekend for troubleshooting
|
||||
# if a Renovate-merged update breaks something.
|
||||
@@ -156,14 +177,14 @@ spec:
|
||||
labels:
|
||||
app.kubernetes.io/instance: renovate
|
||||
app.kubernetes.io/name: renovate
|
||||
app.kubernetes.io/version: "43.197.0"
|
||||
app.kubernetes.io/version: "43.209.3"
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: renovate
|
||||
app.kubernetes.io/name: renovate
|
||||
app.kubernetes.io/version: "43.197.0"
|
||||
app.kubernetes.io/version: "43.209.3"
|
||||
annotations:
|
||||
# Renovate uses plain X.Y.Z semver tags (no -slim suffix anymore)
|
||||
match-regex.version-checker.io/renovate: '^\d+\.\d+\.\d+$'
|
||||
|
||||
Reference in New Issue
Block a user