fix(renovate): add PVC to cache

trying to not hit rate limits lol, if not PVC then Redis is next
This commit is contained in:
JJGadgets
2023-11-25 12:33:26 +08:00
parent c0f595cf83
commit c698f0beb3

View File

@@ -43,6 +43,7 @@ spec:
RENOVATE_USERNAME: "tinfoild[bot]"
RENOVATE_GIT_AUTHOR: "tinfoild <${SECRET_RENOVATE_GITHUB_APP_API_ID}+tinfoild[bot]@users.noreply.github.com>"
RENOVATE_CONFIG_FILE: "/config/config.json"
RENOVATE_BASE_DIR: "/data"
envFrom:
- secretRef:
name: "renovate-secrets"
@@ -77,6 +78,16 @@ spec:
main:
enabled: false
persistence:
data:
enabled: true
type: pvc
size: "10Gi"
storageClass: "block"
accessMode: "ReadWriteOnce"
retain: true
globalMounts:
- path: "/data"
readOnly: false
# TODO: add either Redis or PVC to cache e.g. index.docker.io to alleviate rate limits
tmp:
enabled: true