Update readme with renovate configuration for digest updates #514
Reference in New Issue
Block a user
No description provided.
Delete Branch "readme-renovate-digest"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description of the change
Update README with information how to configure renovate to update digest for gitea charts.
Benefits
Automatic digest updates for people using renovate.
Thanks!
Some grammar/wording suggestions.
To be able to use a digest value which is automatically updated by
renovate
a custom "regexManager" is required.Here's an examplary
values.yml
definition which makes use of a digest:pullPolicy: IfNotPresent
can be removed hereBy default renovate adds the digest after the tag.
To comply with the Gitea helm chart definition of the digest parameter, a custom "regexManager" definition is required:
"Apply an explicit gitea digest field match"
"fileMatch": ["values\\.yaml|values\\.yml"]
I will do it with
"values\\.ya?ml"
to makea
optional.I think this sentence could be removed, the parameter scope should be quite clear.
Thanks @mmalyska for creating this PR. I finally found time to review it and found some issues.
We should name Renovate with capital R. It's how they spell themselves. And probably link to https://docs.renovatebot.com/configuration-options/#regexmanagers.
They renamed
regexManager
tocustomManagers
so following that I've updated configuration https://github.com/renovatebot/renovate/pull/24451The image specification is on top level of
values.yaml
Same as above: Renovate with capital R.
The
matchStrings
pattern matches non-compliant strings (https://regex101.com/r/G43cMf/1).I suggest the following changes to the configuration to:
Nice solution with the
indentation
.This looks good to me, but I'll leave it to @pat-s and @justusbunsi to give the final +1
LGTM. Thanks @mmalyska.
Thanks again for contributing @mmalyska!