From dabb9c8affea779fc9ca75777bc3676ee86fc415 Mon Sep 17 00:00:00 2001 From: clux Date: Tue, 15 Oct 2024 21:18:37 +0100 Subject: [PATCH] renovate docs Signed-off-by: clux --- README.md | 2 +- charts/renovate/Chart.yaml | 2 +- charts/renovate/README.md | 12 ++---------- charts/renovate/clux.yaml | 4 ++++ charts/renovate/kube.yaml | 4 ++++ charts/renovate/values.yaml | 14 ++------------ 6 files changed, 14 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 8a82be2..d748978 100644 --- a/README.md +++ b/README.md @@ -21,4 +21,4 @@ then `helm search repo clux` to see the charts. - [promstack](https://github.com/clux/homelab/tree/main/charts/promstack) :: A low-footprint prometheus/observability chart - [cx-dashboards](https://github.com/clux/homelab/tree/main/charts/cx-dashboards) :: A set of modern dashboards for small clusters with prometheus backlinks - [flux](https://github.com/clux/homelab/tree/main/charts/flux) :: Minimal flux for gitops from this repo -- [renovate](https://github.com/clux/homelab/tree/main/charts/renovate) :: renovate for @clux and @kube-rs running [clux/renovate](https://github.com/clux/renovate) img +- [renovate](https://github.com/clux/homelab/tree/main/charts/renovate) :: Minimal renovate running [clux/renovate](https://github.com/clux/renovate) diff --git a/charts/renovate/Chart.yaml b/charts/renovate/Chart.yaml index 87c429d..7a15d6f 100644 --- a/charts/renovate/Chart.yaml +++ b/charts/renovate/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: renovate description: wrapper over renovate type: application -version: 0.1.0 +version: 0.1.1 dependencies: - name: renovate version: "*" diff --git a/charts/renovate/README.md b/charts/renovate/README.md index 84da02e..762caea 100644 --- a/charts/renovate/README.md +++ b/charts/renovate/README.md @@ -1,13 +1,5 @@ # renovate -A personal `renovate` setup running against select repos in `kube-rs` and `clux`'s repos. +A small `renovate` setup for a daily upgrade job against a select set of repositories. -## Secrets - -- [Fine grained minimal renovate token](https://docs.renovatebot.com/modules/platform/github/#running-using-a-fine-grained-token) for [kube-rs](https://github.com/kube-rs) via @sszynrae. kube-rs org has to approve the PAT. - -- [Classic PAT](https://docs.renovatebot.com/modules/platform/github/#authentication) for @clux's repos via @sszynrae (need to invite sszynrae as collaborator and opt-in repos in clux.yaml). - -## Image - -Built from [clux/renovate](https://github.com/clux/renovate). +Runs image from [clux/renovate](https://github.com/clux/renovate). diff --git a/charts/renovate/clux.yaml b/charts/renovate/clux.yaml index 74949bb..8711942 100644 --- a/charts/renovate/clux.yaml +++ b/charts/renovate/clux.yaml @@ -1,6 +1,10 @@ +--- +# Cronjob instance for clux renovate: repositories: ['"clux/renovate"'] fullnameOverride: 'renovate-clux' envFrom: + # Classic PAT https://docs.renovatebot.com/modules/platform/github/#authentication + # For clux's repos via sszynrae. Have to sszynrae as collaborator to the repos. - secretRef: name: renovate-ssz-pat-classic diff --git a/charts/renovate/kube.yaml b/charts/renovate/kube.yaml index 3cd79b6..7cee381 100644 --- a/charts/renovate/kube.yaml +++ b/charts/renovate/kube.yaml @@ -1,6 +1,10 @@ +--- +# Cronjob instance for kube-rs renovate: repositories: ['"kube-rs/k8s-pb"'] fullnameOverride: 'renovate-kube' envFrom: + # Fine grained, minimal renovate token https://docs.renovatebot.com/modules/platform/github/#running-using-a-fine-grained-token + # For kube-rs org via sszynrae. kube-rs org has to approve the PAT. - secretRef: name: renovate-kube-pat diff --git a/charts/renovate/values.yaml b/charts/renovate/values.yaml index c5f2244..f2d4e93 100644 --- a/charts/renovate/values.yaml +++ b/charts/renovate/values.yaml @@ -2,6 +2,7 @@ renovate: # templated config values repositories: [] # must be json + # https://github.com/renovatebot/helm-charts/blob/main/charts/renovate/values.yaml cronjob: #schedule: '0 1 * * *' # At 01:00 every day @@ -18,18 +19,7 @@ renovate: jobBackoffLimit: '0' #parallelism: '' initContainers: [] - # Verify tooling - # preCommand: | - # set -x - # rg --version && which rg - # fd --version && which fd - # just --version && which just - # sd --version && which sd - # yq --version && which yq - # protoc --version || which protoc - # cargo --version && which cargo - # rustc --version && which rustc - # cargo fmt --version && which rustfmt + image: registry: ghcr.io tag: 37.440.7-slim3