feat(k8s/gitea): add renovate support
This commit is contained in:
@@ -30,6 +30,9 @@ spec:
|
||||
type: RuntimeDefault
|
||||
|
||||
image:
|
||||
repository: gitea/gitea
|
||||
tag: 1.26.1-rootless
|
||||
digest: sha256:4c4256497e2e237ddebdd30986c7ce52cb6f936b3e90c34bb9f4665714599f62
|
||||
rootless: true
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"customManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Apply an explicit gitea digest field match",
|
||||
"fileMatch": ["values\\.ya?ml"],
|
||||
"matchStrings": [
|
||||
"(?<depName>gitea\\/gitea)\\n(?<indentation>\\s+)tag: (?<currentValue>[^@].*?)\\n\\s+digest: (?<currentDigest>sha256:[a-f0-9]+)"
|
||||
],
|
||||
"datasourceTemplate": "docker",
|
||||
"autoReplaceStringTemplate": "{{depName}}\n{{indentation}}tag: {{newValue}}\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 (resticprofile)",
|
||||
"matchFileNames": ["kubernetes/app/gitea/**"],
|
||||
"matchPackageNames": ["creativeprojects/resticprofile"],
|
||||
"enabled": false
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user