feat(k8s/immich): add Renovate config for automated patch/minor updates

This commit is contained in:
2026-03-19 22:38:00 +02:00
parent 8ac5f37141
commit 923ebfba51
3 changed files with 45 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ spec:
containers:
main:
image:
repository: ghcr.io/immich-app/immich-server
tag: v2.5.6
resources:
requests:

View File

@@ -0,0 +1,41 @@
{
"kubernetes": {
"fileMatch": ["kubernetes/app/immich/.+\\.yaml$"]
},
"customManagers": [
{
"customType": "regex",
"fileMatch": ["kubernetes/app/immich/release\\.yaml$"],
"matchStrings": ["repository:\\s*(?<depName>[^\\s]+)\\s+tag:\\s*(?<currentValue>[^\\s]+)"],
"depNameTemplate": "immich-app/immich",
"datasourceTemplate": "github-releases"
}
],
"packageRules": [
{
"matchFileNames": ["kubernetes/app/immich/**"],
"semanticCommitScope": "k8s/immich"
},
{
"matchFileNames": ["kubernetes/app/immich/**"],
"matchPackageNames": ["immich", "immich-app/immich", "ghcr.io/immich-app/immich-server"],
"matchUpdateTypes": ["patch", "minor"],
"automerge": true
},
{
"matchFileNames": ["kubernetes/app/immich/**"],
"matchPackageNames": ["immich", "immich-app/immich", "ghcr.io/immich-app/immich-server"],
"matchUpdateTypes": ["major"],
"automerge": false
},
{
"description": "Ignore infrastructure images (postgres, resticprofile)",
"matchFileNames": ["kubernetes/app/immich/**"],
"matchPackageNames": [
"ghcr.io/immich-app/postgres",
"creativeprojects/resticprofile"
],
"enabled": false
}
]
}

View File

@@ -4,9 +4,10 @@
"config:recommended",
":semanticCommits",
"local>berezovskyi-oleksandr/homelab//kubernetes/app/jellyfin/renovate.json",
"local>berezovskyi-oleksandr/homelab//kubernetes/app/media/renovate.json"
"local>berezovskyi-oleksandr/homelab//kubernetes/app/media/renovate.json",
"local>berezovskyi-oleksandr/homelab//kubernetes/app/immich/renovate.json"
],
"enabledManagers": ["kubernetes"],
"enabledManagers": ["kubernetes", "custom.regex"],
"automergeType": "branch",
"ignoreTests": true,
"assignees": ["berezovskyi-oleksandr"]