From ddabd35bf7dfe1672c6be5ed4fdd654faad9111a Mon Sep 17 00:00:00 2001 From: Timtor Chen Date: Thu, 1 Feb 2024 17:45:23 +0800 Subject: [PATCH] feat: add GitRepository renovation --- amethyst/kubernetes/flux-system/flux2.yaml | 1 + amethyst/kubernetes/kube-system/snapshot-controller.yaml | 4 ++-- renovate.json5 | 8 ++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/amethyst/kubernetes/flux-system/flux2.yaml b/amethyst/kubernetes/flux-system/flux2.yaml index b632d140..7bd936b8 100644 --- a/amethyst/kubernetes/flux-system/flux2.yaml +++ b/amethyst/kubernetes/flux-system/flux2.yaml @@ -9,6 +9,7 @@ spec: interval: 1m url: https://github.com/fluxcd/flux2 ref: + # renovate: github-repo=fluxcd/flux2 tag: v2.0.0-rc.5 ignore: | /* diff --git a/amethyst/kubernetes/kube-system/snapshot-controller.yaml b/amethyst/kubernetes/kube-system/snapshot-controller.yaml index 628a836d..2a66a6e4 100644 --- a/amethyst/kubernetes/kube-system/snapshot-controller.yaml +++ b/amethyst/kubernetes/kube-system/snapshot-controller.yaml @@ -10,7 +10,7 @@ spec: interval: 5m url: https://github.com/kubernetes-csi/external-snapshotter ref: - # renovate repo=kubernetes-csi/external-snapshotter + # renovate: github-repo=kubernetes-csi/external-snapshotter tag: v6.2.2 ignore: | /* @@ -39,7 +39,7 @@ spec: interval: 5m url: https://github.com/kubernetes-csi/external-snapshotter ref: - # renovate repo=kubernetes-csi/external-snapshotter + # renovate: github-repo=kubernetes-csi/external-snapshotter tag: v6.2.2 ignore: | /* diff --git a/renovate.json5 b/renovate.json5 index 903d4551..5fc1d3b1 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -25,6 +25,14 @@ "matchStrings": [ "# renovate: packageName=(?.*?)\n *chart: (?.*?)\n *version: (?.*?)\n" ] + }, + { + // GitRepository + "fileMatch": [".*\\.yaml"], + "datasourceTemplate": "github-tags", + "matchStrings": [ + "# renovate: github-repo=(?.*?)\n *tag: (?\\S+)" + ] } ] }