From ec6c4658f67bc04eab00a4cfbbbd2e71cd8dc5cd Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 9 Apr 2024 14:43:10 +0200 Subject: [PATCH] chore(attic): cleanup config --- charts/attic/Chart.yaml | 2 +- charts/attic/templates/configuration.yaml | 45 +---------------------- 2 files changed, 2 insertions(+), 45 deletions(-) diff --git a/charts/attic/Chart.yaml b/charts/attic/Chart.yaml index 6efbb97..dc3ccdd 100644 --- a/charts/attic/Chart.yaml +++ b/charts/attic/Chart.yaml @@ -4,7 +4,7 @@ description: | A Nix binary caching server appVersion: 4dbdbee45728d8ce5788db6461aaaa89d98081f0 type: application -version: 0.2.0 +version: 0.2.1 maintainers: - name: Tommy Skaug email: tommy@skaug.me diff --git a/charts/attic/templates/configuration.yaml b/charts/attic/templates/configuration.yaml index e13e3e6..ba4d9c2 100644 --- a/charts/attic/templates/configuration.yaml +++ b/charts/attic/templates/configuration.yaml @@ -9,66 +9,23 @@ data: config.toml: | listen = "[::]:8080" allowed-hosts = [] - #api-endpoint = "https://your.domain.tld/" - #soft-delete-caches = false [storage] - # Can be "local" or "s3". type = "local" - - # The directory to store all files under path = "/var/lib/atticd/storage" [database] - #require-proof-of-possession = true - #heartbeat = false - - # Set this if you are using an S3-compatible object storage (e.g., Minio). - #endpoint = "https://xxx.r2.cloudflarestorage.com" - - # If unset, the credentials are read from the `AWS_ACCESS_KEY_ID` and - # `AWS_SECRET_ACCESS_KEY` environment variables. - #[storage.credentials] - # access_key_id = "" - # secret_access_key = "" [chunking] - # If 0, chunking is disabled entirely for newly-uploaded NARs. - # If 1, all NARs are chunked. nar-size-threshold = 65536 # chunk files that are 64 KiB or larger - - # The preferred minimum size of a chunk, in bytes min-size = 16384 # 16 KiB - - # The preferred average size of a chunk, in bytes avg-size = 65536 # 64 KiB - - # The preferred maximum size of a chunk, in bytes max-size = 262144 # 256 KiB - # Compression [compression] - # Compression type - # - # Can be "none", "brotli", "zstd", or "xz" type = "zstd" - # Compression level - #level = 8 - - # Garbage collection [garbage-collection] - # The frequency to run garbage collection at - # - # By default it's 12 hours. You can use natural language - # to specify the interval, like "1 day". - # - # If zero, automatic garbage collection is disabled, but - # it can still be run manually with `atticd --mode garbage-collector-once`. interval = "12 hours" - # Default retention period - # - # Zero (default) means time-based garbage-collection is - # disabled by default. You can enable it on a per-cache basis. - #default-retention-period = "6 months" + default-retention-period = "6 months"