feat: add renovate to docs

This commit is contained in:
Devin Buhl committed 2021-04-16 09:12:14 -04:00
1 parent 0fda745046
commit 0d20ec3b05
2 files changed
+57

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
---
name: Schedule - Renovate Helm Releases
on: # yamllint disable-line rule:truthy
workflow_dispatch:
schedule:
- cron: '0 */12 * * *'
jobs:
renovate-helm-releases:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 1
- name: Renovate Helm Releases
uses: k8s-at-home/renovate-helm-releases@v1
with:
cluster-path: "./cluster"
- name: Create pull request for renovatebot helm-release annotations
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: renovate-annotations
delete-branch: true
title: "chore(deps): update renovate annotations"
signoff: false
committer: GitHub <noreply@github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
commit-message: "chore(deps): update renovate annotations"
body: |
Update HelmReleases inorder for Renovate to pick up new versions of Helm charts
labels: renovate/annotations
+19
View File
@@ -15,6 +15,16 @@ The components installed by default are listed below and can be replaced to your
- [ingress-nginx](https://kubernetes.github.io/ingress-nginx/) - [ingress-nginx](https://kubernetes.github.io/ingress-nginx/)
- [homer](https://github.com/bastienwirtz/homer) - [homer](https://github.com/bastienwirtz/homer)
## Overview
- [Prerequisites](https://github.com/k8s-at-home/template-cluster-k3s#memo-prerequisites)
- [Lets go!](https://github.com/k8s-at-home/template-cluster-k3s#rocket-lets-go)
- [Post installation](https://github.com/k8s-at-home/template-cluster-k3s#mega-post-installation)
- [Debugging](https://github.com/k8s-at-home/template-cluster-k3s#point_right-debugging)
- [Automation](https://github.com/k8s-at-home/template-cluster-k3s#rebot-automation)
- [What's next](https://github.com/k8s-at-home/template-cluster-k3s#grey_question-whats-next)
- [Thanks](https://github.com/k8s-at-home/template-cluster-k3s#handshake-thanks)
## :memo:&nbsp; Prerequisites ## :memo:&nbsp; Prerequisites
### :computer:&nbsp; Nodes ### :computer:&nbsp; Nodes
@@ -336,6 +346,15 @@ flux --kubeconfig=./kubeconfig get sources helm -A
Flux has a wide range of CLI options available be sure to run `flux --help` to view more! Flux has a wide range of CLI options available be sure to run `flux --help` to view more!
## :robot:&nbsp; Automation
[Renovate](https://www.whitesourcesoftware.com/free-developer-tools/renovate) is a very useful tool that when configured will start to create PRs in your Github repository when Docker images, Helm charts or anything else that can be tracked has a newer version. The configuration for renovate is located [here](./.github/renovate.json5).
There's a couple Github workflows included in this repository that will help automate some processes.
- [Flux upgrade schedule](./.github/workflows/flux-schedule.yaml) - workflow to upgrade Flux.
- [Renovate schedule](./.github/workflows/renovate-schedule.yaml) - workflow to annotate `HelmRelease`'s which allows [Renovate](https://www.whitesourcesoftware.com/free-developer-tools/renovate) to track Helm chart versions.
## :grey_question:&nbsp; What's next ## :grey_question:&nbsp; What's next
The world is your cluster, try installing another application or if you have a NAS and want storage back by that check out the helm charts for [democratic-csi](https://github.com/democratic-csi/democratic-csi), [csi-driver-nfs](https://github.com/kubernetes-csi/csi-driver-nfs) or [nfs-subdir-external-provisioner](https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner). The world is your cluster, try installing another application or if you have a NAS and want storage back by that check out the helm charts for [democratic-csi](https://github.com/democratic-csi/democratic-csi), [csi-driver-nfs](https://github.com/kubernetes-csi/csi-driver-nfs) or [nfs-subdir-external-provisioner](https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner).