Files
at-container-registry/quotas.yaml.example
T

36 lines
1.2 KiB
Plaintext

# ATCR Hold Service Quota Configuration
# Copy this file to quotas.yaml to enable quota enforcement.
# If quotas.yaml doesn't exist, quotas are disabled (unlimited for all users).
# Berths define quota tiers using nautical crew ranks.
# Each berth has a quota limit specified in human-readable format.
# Supported units: B, KB, MB, GB, TB, PB (case-insensitive)
berths:
# Entry-level crew - suitable for new or casual users
deckhand:
quota: 5GB
# Mid-level crew - for regular contributors
bosun:
quota: 50GB
# Senior crew - for power users or trusted contributors
quartermaster:
quota: 100GB
# You can add custom berths with any name:
# unlimited_crew:
# quota: 1TB
defaults:
# Default berth assigned to new crew members who don't have an explicit berth.
# This berth must exist in the berths section above.
new_crew_berth: deckhand
# Notes:
# - The hold captain (owner) always has unlimited quota regardless of berths.
# - Crew members can be assigned a specific berth in their crew record.
# - If a crew member's berth doesn't exist in config, they fall back to the default.
# - Quota is calculated per-user by summing unique blob sizes (deduplicated).
# - Quota is checked when pushing manifests (after blobs are already uploaded).