diff --git a/ansible/inventory/group_vars/k3s/k3s.yaml b/ansible/inventory/group_vars/k3s/k3s.yaml index b6517611..e0c79104 100644 --- a/ansible/inventory/group_vars/k3s/k3s.yaml +++ b/ansible/inventory/group_vars/k3s/k3s.yaml @@ -1,4 +1,5 @@ --- +# renovate: datasource=github-releases depName=k3s-io/k3s k3s_version: v1.29.0+k3s1 k3s_server_args: "" diff --git a/renovate.json b/renovate.json index 2e93d985..65f8669f 100644 --- a/renovate.json +++ b/renovate.json @@ -13,8 +13,7 @@ "rebaseWhen": "conflicted", "argocd": { "fileMatch": [ - "argo/apps/apps/.+\\.yaml$", - "argo/apps/cluster/.+\\.yaml$" + "argo/cluster/.*\\.app\\.yaml" ] }, "packageRules": [ @@ -53,5 +52,18 @@ "matchPackageNames": ["linuxserver/plex"], "automerge": false } + ], + "customManagers": [ + { + "customType": "regex", + "description": ["Process custom dependencies"], + "fileMatch": [ + "ansible/.*/.*\\.yaml$" + ], + "matchStrings": [ + "(?m:# renovate: datasource=(?\\S+) depName=(?\\S+)( repository=(?\\S+))?\\n.+?: \"?(?\\S+?)\"?$)" + ], + "datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}" + } ] }