File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -243,6 +243,33 @@ cosign verify IMAGE \
243243For detailed instructions on building PostgreSQL container images, refer to the
244244[ BUILD.md] ( BUILD.md ) file.
245245
246+ ## Automatic Updating using Renovate
247+
248+ [ Renovate] ( https://github.com/renovatebot/renovate ) can be used to automatically update various dependencies.
249+ As CloudNativePG's ` Cluster ` CRDs are not automatically picked up by renovate a custom regex manager must be configured:
250+
251+ ``` json5
252+ {
253+ customManagers: [
254+ {
255+ // cloudnative-pg instance version
256+ customType: ' regex' ,
257+ managerFilePatterns: [
258+ ' /\\ .yaml$/' ,
259+ ],
260+ matchStrings: [
261+ ' imageName: (?<depName>\\ S+):(?<currentValue>\\ S+)@(?<currentDigest>sha256:[a-f0-9]+)' ,
262+ ],
263+ datasourceTemplate: ' docker' ,
264+ // matches: 17.6-202509151215-minimal-trixie
265+ versioningTemplate: ' regex:^(?<major>\\ d+)\\ .(?<minor>\\ d+)-(?<patch>\\ d+)-(?<compatibility>\\ S+)$' ,
266+ }
267+ ]
268+ }
269+ ```
270+
271+ Renovate will never change the ` compatibility ` part of the tag! So bumping from e.g., ` trixie ` to the next debian release must be done manually.
272+
246273## License and copyright
247274
248275This software is available under [ Apache License 2.0] ( LICENSE ) .
You can’t perform that action at this time.
0 commit comments