From be08e101b25ce6e7f9ad329964d245afb80c562a Mon Sep 17 00:00:00 2001 From: Vegard Hagen Date: Mon, 22 Jul 2024 00:03:47 +0200 Subject: [PATCH] feat: configure renovate --- README.md | 26 ++++++++------------------ renovate.json | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 18 deletions(-) create mode 100644 renovate.json diff --git a/README.md b/README.md index 58ccf8e..7c00a85 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,11 @@ Repository for home infrastructure and [Kubernetes](https://kubernetes.io/) cluster using [GitOps](https://en.wikipedia.org/wiki/DevOps) practices. + Held together using [Proxmox VE](https://www.proxmox.com/en/proxmox-virtual-environment), [OpenTofu](https://opentofu.org/), [Talos](https://talos.dev), [Kubernetes](https://kubernetes.io/), -[Argo CD](https://argoproj.github.io/cd/) and copious amounts of [YAML](https://yaml.org/). +[Argo CD](https://argoproj.github.io/cd/) and copious amounts of [YAML](https://yaml.org/) with some help +from [Renovate](https://www.mend.io/renovate/). @@ -81,29 +83,17 @@ I'm currently working on an article on how to bootstrap your own Talos-cluster u ## 🏗️ Work in Progress -- [ ] Set up AdGuard Home +- [x] Renovate for automatic updates +- [ ] Keycloak for auth +- [ ] Implement NetBird +- [ ] AdGuard Home +- [ ] External DNS - [ ] Clean up DNS config -- [ ] Renovate for automatic updates ## 👷‍ Future Projects -- [ ] External DNS -- [ ] Keycloak for auth -- [ ] Implement NetBird - [ ] OPNSense/pfSense - [ ] Use BGP instead of ARP - [ ] Dynamic Resource Allocation for GPU - [ ] Local LLM - [ ] Cilium mTLS & SPIFFE/SPIRE - -## - -Proxmox logo -Proxmox logo -      -OpenTofu logo -OpenTofu logo -      -Kubernetes logo -      -Kubernetes logo \ No newline at end of file diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..64f3210 --- /dev/null +++ b/renovate.json @@ -0,0 +1,41 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base" + ], + "kustomize": { + "fileMatch": [ + "(^|/)kustomization\\.ya?ml(\\.j2)?$" + ] + }, + "customManagers": [ + { + "customType": "regex", + "fileMatch": [ + "\\.tf$", + "\\.tftpl$", + "\\.yaml$", + "\\.sh$" + ], + "matchStrings": [ + "(?[\\w+\\.\\-]*)['\",;]*\\s*#\\s?renovate: (?\\S+)=(?\\S+)\\s?(registry=(?\\S+))?\\s?(versioning=(?\\S+))?" + ] + } + ], + "packageRules": [ + { + "matchManagers": [ + "terraform" + ], + "matchDepTypes": [ + "provider", + "required_provider" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], + "automerge": true + } + ] +}