diff --git a/apps/kustomization.yaml b/apps/kustomization.yaml index 4ab5c74..e383894 100644 --- a/apps/kustomization.yaml +++ b/apps/kustomization.yaml @@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - gitea.yaml + - renovate.yaml diff --git a/apps/renovate.yaml b/apps/renovate.yaml new file mode 100644 index 0000000..4646918 --- /dev/null +++ b/apps/renovate.yaml @@ -0,0 +1,31 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: renovate +--- +apiVersion: batch/v1 +kind: CronJob +metadata: + name: renovate + namespace: renovate +spec: + schedule: "@hourly" + concurrencyPolicy: Forbid + jobTemplate: + spec: + template: + spec: + containers: + - name: renovate + # Update this to the latest available and then enable Renovate on + # the manifest + image: renovate/renovate:39.215.2-full + # Environment Variables + env: + - name: LOG_LEVEL + value: debug + envFrom: + - secretRef: + name: renovate-env + restartPolicy: Never