diff --git a/Makefile b/Makefile index 8a83cdbc1..6fa87f2a1 100644 --- a/Makefile +++ b/Makefile @@ -183,7 +183,9 @@ HELM ?= $(LOCALBIN)/HELM ENVTEST ?= $(LOCALBIN)/setup-envtest ## Tool Versions +# renovate: datasource=github-tags depName=kubernetes-sigs/kustomize KUSTOMIZE_VERSION ?= v4.5.7 +# renovate: datasource=github-releases depName=kubernetes-sigs/controller-tools CONTROLLER_TOOLS_VERSION ?= v0.10.0 KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" diff --git a/renovate.json b/renovate.json index 00b1bad86..1659d32c5 100644 --- a/renovate.json +++ b/renovate.json @@ -12,7 +12,8 @@ "kubernetes": { "fileMatch": [ "^chart/templates/rendered\\.yaml$", - "^config/default/.*-patch\\.yaml$" + "^config/default/.*-patch\\.yaml$", + "test\\/.*\\.ya?ml$" ] }, "packageRules": [ @@ -55,6 +56,18 @@ "datasourceTemplate": "github-releases", "extractVersionTemplate": "^flagd/(?.*)$" }, + { + "fileMatch": [ + "(^|\\/)Makefile$", + "(^|\\/)Dockerfile", + "(^|\\/).*\\.ya?ml$", + "(^|\\/).*\\.toml$", + "(^|\\/).*\\.sh$" + ], + "matchStrings": [ + "# renovate: datasource=(?.+?) depName=(?.+?)\\s.*?_VERSION ?(\\??=|\\: ?) ?\\\"?(?.+?)?\\\"?\\s" + ] + }, { "fileMatch": ["^controllers/core/flagsourceconfiguration/controller.go$"], "matchStrings": ["\"(?.*?)\" \\/\\/FLAGD_PROXY_TAG_RENOVATE"],