feat(k8s/gitea): add renovate support

This commit is contained in:
2026-05-11 23:58:06 +03:00
parent d703a633ce
commit c174a26764
3 changed files with 51 additions and 2 deletions
File diff suppressed because one or more lines are too long
+33
View File
@@ -0,0 +1,33 @@
{
"customManagers": [
{
"customType": "regex",
"description": "Track gitea rootless image; chart appends -rootless to tag automatically",
"fileMatch": ["kubernetes/app/gitea/release\\.yaml$"],
"matchStrings": [
"(?<indentation>\\s+)# renovate: currentValue=(?<currentValue>[^\\s]+) currentDigest=(?<currentDigest>sha256:[a-f0-9]+)\\n\\s+tag: [^\\s]+\\n\\s+digest: [^\\s]+"
],
"depNameTemplate": "gitea/gitea",
"datasourceTemplate": "docker",
"autoReplaceStringTemplate": "{{indentation}}# renovate: currentValue={{newValue}} currentDigest={{#if newDigest}}{{{newDigest}}}{{else}}{{{currentDigest}}}{{/if}}\n{{indentation}}tag: {{newMajor}}.{{newMinor}}.{{newPatch}}\n{{indentation}}digest: {{#if newDigest}}{{{newDigest}}}{{else}}{{{currentDigest}}}{{/if}}"
}
],
"packageRules": [
{
"matchFileNames": ["kubernetes/app/gitea/**"],
"semanticCommitScope": "k8s/gitea"
},
{
"matchFileNames": ["kubernetes/app/gitea/**"],
"matchPackageNames": ["gitea/gitea"],
"matchUpdateTypes": ["patch", "minor"],
"automerge": true
},
{
"description": "Ignore infrastructure images",
"matchFileNames": ["kubernetes/app/gitea/**"],
"matchPackageNames": ["creativeprojects/resticprofile", "postgres"],
"enabled": false
}
]
}
+2 -1
View File
@@ -5,7 +5,8 @@
":semanticCommits", ":semanticCommits",
"local>oleksandr/homelab//kubernetes/app/jellyfin/renovate.json", "local>oleksandr/homelab//kubernetes/app/jellyfin/renovate.json",
"local>oleksandr/homelab//kubernetes/app/media/renovate.json", "local>oleksandr/homelab//kubernetes/app/media/renovate.json",
"local>oleksandr/homelab//kubernetes/app/immich/renovate.json" "local>oleksandr/homelab//kubernetes/app/immich/renovate.json",
"local>oleksandr/homelab//kubernetes/app/gitea/renovate.json"
], ],
"enabledManagers": ["kubernetes", "custom.regex"], "enabledManagers": ["kubernetes", "custom.regex"],
"automergeType": "branch", "automergeType": "branch",