From 16b75ac1c5d5bcfb3b9206f69046e43d3ae632b1 Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Sat, 7 May 2022 08:48:03 -0400 Subject: [PATCH] fix(renovate): revert regex manager to capture traefik crd updates Signed-off-by: Devin Buhl --- .github/renovate.json5 | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 4d42b45c..2df44b79 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -33,7 +33,7 @@ "kubernetes": { "fileMatch": [ "cluster/.+\\.ya?ml$", - "provision/ansible/playbooks/templates/.+\\.ya?ml.j2$" + "provision/ansible/.+\\.ya?ml.j2$" ] }, "regexManagers": [ @@ -41,7 +41,7 @@ { "fileMatch": [ "cluster/.+\\.ya?ml$", - "ansible/.+\\.ya?ml$" + "provision/ansible/.+\\.ya?ml$" ], "matchStrings": [ "datasource=(?.*?)( versioning=(?.*?))?\n *url: https:\/\/github\\.com\/(?.*?)\\.git\n *ref:\n *tag: (?.*)\n", @@ -51,14 +51,23 @@ "datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}", "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" }, - // Read and process Custom Resource Definitions + // regexManager to read and process cert-manager CRD's { "fileMatch": [ - "cluster/.+\\.ya?ml$" + "cluster/crds/cert-manager/.+\\.ya?ml$" ], "matchStrings": [ - "registryUrl=(?.*?)\n *tag: (?[a-zA-Z-]+)-(?.*)\n", - "registryUrl=(?.*?) chart=(?.*?)\n.*\\/v?(?.*)\n" + "registryUrl=(?.*?) chart=(?.*?)\n.*\\/(?.*?)\\/" + ], + "datasourceTemplate": "helm" + }, + // regexManager to read and process Traefik CRD's + { + "fileMatch": [ + "cluster/crds/traefik/.+\\.ya?ml$" + ], + "matchStrings": [ + "registryUrl=(?.*?) chart=(?.*?)\n *tag: v(?.*)\n" ], "datasourceTemplate": "helm" }