From 66fc8e445e3e7c742e4885871726e9f9add1108b Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 2 Jul 2023 12:46:33 +0200 Subject: [PATCH] fix kubernetes kustomize patches matcher --- kubernetes.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/kubernetes.json b/kubernetes.json index f7f50e8..e1eefb5 100644 --- a/kubernetes.json +++ b/kubernetes.json @@ -6,11 +6,13 @@ "fileMatch": ["^flux/.+\\.ya?ml$"] }, "helm-values": { - "fileMatch": ["^flux/(.+/)patch(HelmRelease)\\.ya?ml$"], + "fileMatch": ["^flux/(.+/)patches/(helmRelease)\\.ya?ml$"], "pinDigests": true }, "kubernetes": { - "fileMatch": ["^flux/(.+/)patch(Deployment|Cluster|Tenant)\\.ya?ml$"] + "fileMatch": [ + "^flux/(.+/)patches/(deployment|postgresCluster|minioTenant)\\.ya?ml$" + ] }, "packageRules": [ { @@ -36,7 +38,7 @@ ], "regexManagers": [ { - "fileMatch": ["^flux/(.+/)patch(Cluster)\\.ya?ml$"], + "fileMatch": ["^flux/(.+/)patches/(postgresCluster)\\.ya?ml$"], "matchStrings": [ "\\s+(imageName):\\s+\"?'?(?[^:\\s]+):(?[^\"'@]+?)(@(?sha256:[a-f0-9]+))?\"?'?\\s" ],