From f1bb448b7c36dafcdea9b5d31e62e73809e37d99 Mon Sep 17 00:00:00 2001 From: Francesco Canovai Date: Tue, 17 Sep 2024 16:41:42 +0200 Subject: [PATCH] ci: do not group k8s deps in renovate Avoid *k8s.io dependencies from being grouped all together in renovate, since we want to prevent unwanted dependencies from being fed to cnpg. Signed-off-by: Francesco Canovai --- renovate.json5 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/renovate.json5 b/renovate.json5 index d2e7a09..82e05a1 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -34,8 +34,10 @@ "matchDatasources": [ "go" ], - "matchPackagePatterns": [ - "*" + "matchPackageNames": [ + // Avoid k8s dependencies from being grouped with other dependencies. We want to be careful + // with how we update them, since we may get indirect upgrades in cloudnative-pg. + "!/k8s.io/" ], "matchUpdateTypes": [ "minor",