disable renovate
This commit is contained in:
48
disabled/apps/renovate/renovate-job.yml
Normal file
48
disabled/apps/renovate/renovate-job.yml
Normal file
@@ -0,0 +1,48 @@
|
||||
---
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: renovate-bot
|
||||
namespace: default
|
||||
spec:
|
||||
schedule: '@daily'
|
||||
concurrencyPolicy: Forbid
|
||||
successfulJobsHistoryLimit: 0
|
||||
failedJobsHistoryLimit: 0
|
||||
jobTemplate:
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
hostNetwork: true
|
||||
containers:
|
||||
- image: renovate/renovate:41.27.0
|
||||
name: renovate-bot
|
||||
env:
|
||||
- name: RENOVATE_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: renovate-secrets
|
||||
key: renovate-token
|
||||
- name: RENOVATE_GITHUB_COM_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: renovate-secrets
|
||||
key: github-token
|
||||
- name: RENOVATE_BASE_DIR
|
||||
value: '/tmp/renovate/'
|
||||
- name: RENOVATE_CONFIG_FILE
|
||||
value: '/opt/renovate/config.json'
|
||||
- name: LOG_LEVEL
|
||||
value: info
|
||||
volumeMounts:
|
||||
- name: config-volume
|
||||
mountPath: /opt/renovate/
|
||||
- name: work-volume
|
||||
mountPath: /tmp/renovate/
|
||||
restartPolicy: Never
|
||||
volumes:
|
||||
- name: config-volume
|
||||
configMap:
|
||||
name: renovate-config
|
||||
- name: work-volume
|
||||
emptyDir: {}
|
||||
Reference in New Issue
Block a user