- Add gc-cronjob.yaml: daily prune of DinD Docker images/volumes/build-cache and actcache across all forgejo-runner pods. Keeps :latest tagged images, deletes non-latest older than 72h. - Expand runner reg PVCs from 1Gi to 20Gi (all three runners) to prevent action tool cache from filling disk. - Rust runner gets explicit 20Gi persistence override. - GC only renders from golang (default) values to avoid duplicate resources.
20 lines
635 B
YAML
20 lines
635 B
YAML
# Override on top of values.yaml (the chart's defaults) for the rust-labeled
|
|
# runner instance. Only runner.name and runner.labels differ -- everything
|
|
# else (image, dind, persistence, tolerations, nodeSelector) is shared.
|
|
#
|
|
# rust:1.83-bookworm -- verified this tag exists (docker manifest inspect)
|
|
# before pinning it, per this repo's convention of not trusting a tag exists
|
|
# without checking.
|
|
runner:
|
|
name: rust-runner
|
|
labels: "rust:docker://rust:1.83-bookworm"
|
|
|
|
persistence:
|
|
reg:
|
|
storageClass: longhorn
|
|
size: 20Gi
|
|
|
|
# GC CronJob renders only from the default (golang) values to avoid duplicates
|
|
gc:
|
|
enabled: false
|