Updated
- Bumping chart version to v0.6.2 for scalr-agent v1.2.0
Added
- Added a node-local disk backend for the cache directory (
persistence.cache.hostPath.{path,type}), used whenpersistence.cache.enabledis true andhostPath.pathis set (empty by default). The cache volume in task pods is then ahostPathmount that takes precedence overpersistentVolumeClaim, while the controller keeps an ephemeral (emptyDir) cache volume. See hostPath cache guide for details. - Added
agent.binaryCache.sizeLimit(default5Gi) andagent.binaryCache.thresholdDays(default10) to configure garbage collection of the local binary cache (OpenTofu, Terraform, Terragrunt, OPA, Checkov). Binaries unused for more thanthresholdDaysare removed, and least-recently-used binaries are evicted once the cache exceedssizeLimit. The size limit is soft: a binary in use by an active run is never evicted.
Changed
-
The in-container bind mount for the binary cache moved from
/opt/binto/opt/binary-cache. -
The controller and worker containers now use the image's built-in
ENTRYPOINT/CMDinstead of the previously hard-codedcommand: ["python", "-m", "tacoagent.cmd"]in the chart. Optional overrides are available viaagent.controller.command,agent.controller.args,task.worker.command, andtask.worker.args, but default to empty and using the image default is recommended — overriding bypasses the image's tuned startup and may break the container or degrade its performance.
Note: incorrectly built custom images with a modified or missing default entrypoint may be affected. If you package custom scalr/agent images, ensure the default entrypoint is not stripped or overridden.
Fixed
- Fixed
helm template/helm installfailing withYAML parse error ... block sequence entries are not allowed in this contextwhenpersistence.data.persistentVolumeClaim.storageClassNameorpersistence.cache.persistentVolumeClaim.storageClassNamewas set to"-". Setting"-"now rendersstorageClassName: ""to disable dynamic provisioning. Existing setups are unaffected: an empty value still omits the field (cluster default storage class) and an explicit class name is still rendered as-is.