From c359384ade32ecdc9fc64d4e142f8c7385d2ba6e Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Sun, 25 Oct 2026 04:24:56 +0100 Subject: [PATCH] renovate: look at every app folder, and at CNPG images --- renovate.json | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/renovate.json b/renovate.json index 03c054e..c60ff5f 100644 --- a/renovate.json +++ b/renovate.json @@ -6,7 +6,7 @@ ], "argocd": { "managerFilePatterns": [ - "/apps/templates/.+\\.yaml$/" + "/^(?!(nix-infra-machine|backup-testing|docs|tools|\\.github)/)[^/]+/.+\\.yaml$/" ] }, "helm-values": { @@ -16,12 +16,7 @@ }, "kubernetes": { "managerFilePatterns": [ - "/apps/templates/.+\\.yaml$/", - "/serpbear/.+\\.yaml$/", - "/bolletjestrui/.+\\.yaml$/", - "/gitea/.+\\.yaml$/", - "/gatus/.+\\.yaml$/", - "/ntfy/.+\\.yaml$/" + "/^(?!(nix-infra-machine|backup-testing|docs|tools|\\.github)/)[^/]+/.+\\.yaml$/" ] }, "customManagers": [ @@ -34,6 +29,17 @@ "repoURL: (?.*?)\\n\\s+targetRevision: (?[^\\s]+)\\n\\s+chart: (?[^\\s]+)" ], "datasourceTemplate": "helm" + }, + { + "customType": "regex", + "description": "CloudNativePG clusters name their image in imageName", + "managerFilePatterns": [ + "/^[^/]+/postgresql-cluster[^/]*\\.yaml$/" + ], + "matchStrings": [ + "imageName: (?[^:\\s]+):(?\\S+)" + ], + "datasourceTemplate": "docker" } ], "packageRules": [ @@ -54,6 +60,18 @@ "helm/helm" ], "enabled": false + }, + { + "description": "A PostgreSQL major upgrade needs pg_upgrade or a dump, not a tag bump", + "matchDepNames": [ + "ghcr.io/cloudnative-pg/postgresql", + "ghcr.io/tensorchord/cloudnative-vectorchord", + "ghcr.io/tensorchord/cloudnative-pgvecto.rs" + ], + "matchUpdateTypes": [ + "major" + ], + "enabled": false } ] }