diff --git a/kubernetes.json b/kubernetes.json index 0e61238..52a6943 100644 --- a/kubernetes.json +++ b/kubernetes.json @@ -6,12 +6,14 @@ "fileMatch": ["^flux/.+\\.ya?ml$"] }, "helm-values": { - "fileMatch": ["^flux/(.+/)patches/(helmRelease)\\.ya?ml$"], + "fileMatch": [ + "^flux/(?:.+/)overlays/(?:.+/)patches/(?:helmRelease)\\.ya?ml$" + ], "pinDigests": true }, "kubernetes": { "fileMatch": [ - "^flux/(.+/)patches/(deployment|postgresCluster|minioTenant)\\.ya?ml$" + "^flux/(?:.+/)overlays/(?:.+/)patches/(?:deployment|postgresCluster|minioTenant)\\.ya?ml$" ] }, "packageRules": [ @@ -38,14 +40,16 @@ ], "regexManagers": [ { - "fileMatch": ["^flux/(.+/)patches/(postgresCluster)\\.ya?ml$"], + "fileMatch": [ + "^flux/(?:.+/)overlays/(?:.+/)patches/(?:postgresCluster)\\.ya?ml$" + ], "matchStrings": [ "\\s+(?:imageName):\\s+\"?'?(?[^:\\s]+):(?[^\"'@]+)(?:@(?sha256:[a-f0-9]+))?\"?'?" ], "datasourceTemplate": "docker" }, { - "fileMatch": ["^flux/(.+/)patches/(config)\\.ya?ml$"], + "fileMatch": ["^flux/(?:.+/)overlays/(?:.+/)(?:configmap)\\.ya?ml$"], "matchStrings": [ ".+(?:_IMAGE):\\s+\"?'?(?[^:\\s]+):(?[^\"'@]+)(?:@(?sha256:[a-f0-9]+))?\"?'?" ],