feat(cluster): use the native flux renovate integration
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
9 files changed
+16
-51
No files matched your search
+16
-8
@@ -5,24 +5,32 @@
|
|||||||
"dependencyDashboardTitle": "Renovate Dashboard",
|
"dependencyDashboardTitle": "Renovate Dashboard",
|
||||||
"suppressNotifications": ["prIgnoreNotification"],
|
"suppressNotifications": ["prIgnoreNotification"],
|
||||||
"rebaseWhen": "conflicted",
|
"rebaseWhen": "conflicted",
|
||||||
|
"flux": {
|
||||||
|
"fileMatch": [
|
||||||
|
"cluster/.+\\.ya?ml$"
|
||||||
|
],
|
||||||
|
"ignorePaths": [
|
||||||
|
"cluster/base/"
|
||||||
|
]
|
||||||
|
},
|
||||||
"helm-values": {
|
"helm-values": {
|
||||||
"fileMatch": [
|
"fileMatch": [
|
||||||
"cluster/.+/helm-release\\.yaml$"
|
"cluster/.+/helm-release\\.ya?ml$"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"kubernetes": {
|
"kubernetes": {
|
||||||
"fileMatch": [
|
"fileMatch": [
|
||||||
"cluster/.+\\.yaml$"
|
"cluster/.+\\.ya?ml$"
|
||||||
],
|
],
|
||||||
"ignorePaths": [
|
"ignorePaths": [
|
||||||
"cluster/base/"
|
"cluster/base/"
|
||||||
],
|
]
|
||||||
},
|
},
|
||||||
"regexManagers": [
|
"regexManagers": [
|
||||||
// regexManager to read and process HelmRelease files
|
// regexManager to read and process HelmRelease files
|
||||||
{
|
{
|
||||||
"fileMatch": [
|
"fileMatch": [
|
||||||
"cluster/.+\\.yaml$"
|
"cluster/.+\\.ya?ml$"
|
||||||
],
|
],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
// helm releases
|
// helm releases
|
||||||
@@ -33,7 +41,7 @@
|
|||||||
// regexManager to read and process cert-manager CRD's
|
// regexManager to read and process cert-manager CRD's
|
||||||
{
|
{
|
||||||
"fileMatch": [
|
"fileMatch": [
|
||||||
"cluster/crds/cert-manager/.+\\.yaml$"
|
"cluster/crds/cert-manager/.+\\.ya?ml$"
|
||||||
],
|
],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*?)\n.*\\/(?<currentValue>.*?)\\/"
|
"registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*?)\n.*\\/(?<currentValue>.*?)\\/"
|
||||||
@@ -43,13 +51,13 @@
|
|||||||
// regexManager to read and process Traefik CRD's
|
// regexManager to read and process Traefik CRD's
|
||||||
{
|
{
|
||||||
"fileMatch": [
|
"fileMatch": [
|
||||||
"cluster/crds/traefik/.+\\.yaml$"
|
"cluster/crds/traefik/.+\\.ya?ml$"
|
||||||
],
|
],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*?)\n *tag: v(?<currentValue>.*)\n"
|
"registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*?)\n *tag: v(?<currentValue>.*)\n"
|
||||||
],
|
],
|
||||||
"datasourceTemplate": "helm"
|
"datasourceTemplate": "helm"
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
// setup datasources
|
// setup datasources
|
||||||
@@ -64,7 +72,7 @@
|
|||||||
"enabled": true,
|
"enabled": true,
|
||||||
"commitMessageTopic": "container image {{depName}}",
|
"commitMessageTopic": "container image {{depName}}",
|
||||||
"commitMessageExtra": "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}",
|
"commitMessageExtra": "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}",
|
||||||
"matchUpdateTypes": ["major", "minor", "patch"],
|
"matchUpdateTypes": ["major", "minor", "patch"]
|
||||||
},
|
},
|
||||||
// add labels according to package and update types
|
// add labels according to package and update types
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,36 +0,0 @@
|
|||||||
---
|
|
||||||
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
|
|
||||||
@@ -8,7 +8,6 @@ spec:
|
|||||||
interval: 5m
|
interval: 5m
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
# renovate: registryUrl=https://hajimari.io
|
|
||||||
chart: hajimari
|
chart: hajimari
|
||||||
version: 1.2.0
|
version: 1.2.0
|
||||||
sourceRef:
|
sourceRef:
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ spec:
|
|||||||
interval: 5m
|
interval: 5m
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
# renovate: registryUrl=https://kubernetes-sigs.github.io/metrics-server
|
|
||||||
chart: metrics-server
|
chart: metrics-server
|
||||||
version: 3.7.0
|
version: 3.7.0
|
||||||
sourceRef:
|
sourceRef:
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ spec:
|
|||||||
interval: 5m
|
interval: 5m
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
# renovate: registryUrl=https://emberstack.github.io/helm-charts/
|
|
||||||
chart: reflector
|
chart: reflector
|
||||||
version: 6.1.23
|
version: 6.1.23
|
||||||
sourceRef:
|
sourceRef:
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ spec:
|
|||||||
interval: 5m
|
interval: 5m
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
# renovate: registryUrl=https://stakater.github.io/stakater-charts
|
|
||||||
chart: reloader
|
chart: reloader
|
||||||
version: v0.0.104
|
version: v0.0.104
|
||||||
sourceRef:
|
sourceRef:
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ spec:
|
|||||||
interval: 5m
|
interval: 5m
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
# renovate: registryUrl=https://helm.traefik.io/traefik
|
|
||||||
chart: traefik
|
chart: traefik
|
||||||
version: 10.13.0
|
version: 10.13.0
|
||||||
sourceRef:
|
sourceRef:
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ spec:
|
|||||||
interval: 5m
|
interval: 5m
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
# renovate: registryUrl=https://charts.jetstack.io/
|
|
||||||
chart: cert-manager
|
chart: cert-manager
|
||||||
version: v1.7.0
|
version: v1.7.0
|
||||||
sourceRef:
|
sourceRef:
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ spec:
|
|||||||
interval: 5m
|
interval: 5m
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
# renovate: registryUrl=https://metallb.github.io/metallb
|
|
||||||
chart: metallb
|
chart: metallb
|
||||||
version: 0.11.0
|
version: 0.11.0
|
||||||
sourceRef:
|
sourceRef:
|
||||||
|
|||||||
Reference in new issue
Block a user