From 265b92f9213fba50ccf8f2aa2ef4866264caafe4 Mon Sep 17 00:00:00 2001
From: "evan.rush" <rush_evan@bah.com>
Date: Thu, 3 Feb 2022 21:16:25 +0000
Subject: [PATCH] Renovate for Flux

---
 renovate.json | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 renovate.json

diff --git a/renovate.json b/renovate.json
new file mode 100644
index 0000000000..d2d7fafbf8
--- /dev/null
+++ b/renovate.json
@@ -0,0 +1,33 @@
+{
+    "baseBranches": ["master"],
+    "configWarningReuseIssue": false,
+    "dependencyDashboard": true,
+    "dependencyDashboardHeader": "- [ ] If there are Flux updates: Update [Flux manifests](https://repo1.dso.mil/platform-one/big-bang/bigbang/-/blob/master/base/flux/gotk-components.yaml) to latest version based off available image versions.",
+    "dependencyDashboardTitle": "Renovate: Update Dependencies",
+    "draftPR": true,
+    "enabledManagers": ["helm-values","regex"],
+    "labels": ["renovate","kind::chore"],
+    "packageRules": [
+        {
+            "matchDatasources": ["docker"],
+            "groupName": "Ironbank",
+            "registryUrls": ["https://registry1.dso.mil"]
+        },
+        {
+            "matchPackagePatterns": ["flux"],
+            "additionalBranchPrefix": "flux-",
+            "addLabels": ["flux"],
+            "groupName": "Flux"
+        }
+    ],
+    "regexManagers": [
+        {
+            "fileMatch": ["^base/flux/kustomization\\.yaml"],
+            "matchStrings": [
+                "newName\\S*:\\s*(?<depName>\\S+).*\n\\s+newTag:\\s*(?<currentValue>.+)"
+              ],
+            "datasourceTemplate": "docker"
+        }
+    ],
+    "separateMajorMinor": false
+}
\ No newline at end of file
-- 
GitLab