renovate: convert to config.js

This commit is contained in:
Vivian 2022-05-20 11:40:28 +02:00
parent 21c1d51d58
commit fe5c0246e5

View file

@ -37,7 +37,7 @@ spec:
- name: RENOVATE_GIT_AUTHOR - name: RENOVATE_GIT_AUTHOR
value: "Renovate Bot <renovate@xirion.net>" value: "Renovate Bot <renovate@xirion.net>"
- name: RENOVATE_CONFIG_FILE - name: RENOVATE_CONFIG_FILE
value: "/opt/renovate/config.json" value: "/opt/renovate/config.js"
- name: RENOVATE_BASE_DIR - name: RENOVATE_BASE_DIR
value: "/tmp/renovate" value: "/tmp/renovate"
envFrom: envFrom:
@ -51,9 +51,8 @@ metadata:
name: renovate-config name: renovate-config
namespace: gitops namespace: gitops
data: data:
config.json: |- config.js: |-
{ module.exports = {
"extends": ["github>whitesource/merge-confidence:beta"],
"repositories": ["v/infrastructure"], "repositories": ["v/infrastructure"],
"flux": { "flux": {
"fileMatch": ["flux/.+\\.yaml$"] "fileMatch": ["flux/.+\\.yaml$"]
@ -81,4 +80,4 @@ data:
] ]
} }
] ]
} };