This commit is contained in:
42
infra/renovate.yaml
Normal file
42
infra/renovate.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: renovate
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "2"
|
||||
labels:
|
||||
app.kubernetes.io/name: renovate
|
||||
app.kubernetes.io/part-of: platform
|
||||
app.kubernetes.io/managed-by: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: default
|
||||
|
||||
sources:
|
||||
- repoURL: ghcr.io/renovatebot/charts
|
||||
chart: renovate
|
||||
targetRevision: "46.109.0"
|
||||
helm:
|
||||
releaseName: renovate
|
||||
valueFiles:
|
||||
- $values/infra/values/renovate-values.yaml
|
||||
|
||||
- repoURL: ssh://git@git.forteapps.net:2222/Forte/launchpad.git
|
||||
targetRevision: HEAD
|
||||
ref: values
|
||||
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: renovate
|
||||
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
allowEmpty: false
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- Validate=true
|
||||
- ServerSideApply=true
|
||||
28
infra/values/renovate-values.yaml
Normal file
28
infra/values/renovate-values.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
cronjob:
|
||||
schedule: "@hourly"
|
||||
concurrencyPolicy: Forbid
|
||||
|
||||
renovate:
|
||||
config: |
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"platform": "gitea",
|
||||
"endpoint": "https://git.forteapps.net",
|
||||
"autodiscover": true,
|
||||
"gitAuthor": "Renovate Bot <renovate@forteapps.net>"
|
||||
}
|
||||
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: renovate-env
|
||||
|
||||
env:
|
||||
LOG_LEVEL: debug
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: 512Mi
|
||||
limits:
|
||||
cpu: "1"
|
||||
memory: 1Gi
|
||||
Reference in New Issue
Block a user