File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -261,6 +261,33 @@ vulnerabilities before they are published or deployed:
261261For detailed instructions on building PostgreSQL container images, refer to the
262262[ BUILD.md] ( BUILD.md ) file.
263263
264+ ## Automatic Updating using Renovate
265+
266+ [ Renovate] ( https://github.com/renovatebot/renovate ) can be used to automatically update various dependencies.
267+ As CloudNativePG's ` Cluster ` CRDs are not automatically picked up by renovate a custom regex manager must be configured:
268+
269+ ``` json5
270+ {
271+ customManagers: [
272+ {
273+ // cloudnative-pg instance version
274+ customType: ' regex' ,
275+ managerFilePatterns: [
276+ ' /\\ .yaml$/' ,
277+ ],
278+ matchStrings: [
279+ ' imageName: (?<depName>\\ S+):(?<currentValue>\\ S+)@(?<currentDigest>sha256:[a-f0-9]+)' ,
280+ ],
281+ datasourceTemplate: ' docker' ,
282+ // matches: 17.6-202509151215-minimal-trixie
283+ versioningTemplate: ' regex:^(?<major>\\ d+)\\ .(?<minor>\\ d+)-(?<patch>\\ d+)-(?<compatibility>\\ S+)$' ,
284+ }
285+ ]
286+ }
287+ ```
288+
289+ 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.
290+
264291## License and copyright
265292
266293This software is available under [ Apache License 2.0] ( LICENSE ) .
You can’t perform that action at this time.
0 commit comments