From 1a5bc025d564ea049b0a4f0d0ad44226854b8394 Mon Sep 17 00:00:00 2001
From: Matt Reeves <admin@mafyuh.io>
Date: Wed, 26 Feb 2025 00:28:16 -0500
Subject: [PATCH] update renovate config for flux

---
 .github/renovate.json | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/renovate.json b/.github/renovate.json
index bb4305b..c4f23a4 100644
--- a/.github/renovate.json
+++ b/.github/renovate.json
@@ -66,6 +66,16 @@
       ],
       "datasourceTemplate": "helm",
       "versioningTemplate": "semver"
+    },
+    {
+      "customType": "regex",
+      "fileMatch": ["(^|/)terraform/flux/main\\.tf$"],
+      "matchStrings": [
+        "resource\\s+\"flux_bootstrap_git\"\\s+\"[^\"]+\"\\s+\\{[^}]*?version\\s+=\\s+\"(?<currentValue>[0-9\\.]+)\""
+      ],
+      "datasourceTemplate": "github-releases",
+      "packageNameTemplate": "fluxcd/flux2",
+      "versioningTemplate": "semver"
     }
   ],
   "dependencyDashboardTitle": ":robot: Renovate Dashboard"