Files
at-container-registry/quotas.yaml.example
T
2026-01-04 23:37:31 -06:00

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).
# Tiers define quota levels using nautical crew ranks.
# Each tier has a quota limit specified in human-readable format.
# Supported units: B, KB, MB, GB, TB, PB (case-insensitive)
tiers:
# 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 tiers with any name:
# unlimited_crew:
# quota: 1TB
defaults:
# Default tier assigned to new crew members who don't have an explicit tier.
# This tier must exist in the tiers section above.
new_crew_tier: deckhand
# Notes:
# - The hold captain (owner) always has unlimited quota regardless of tiers.
# - Crew members can be assigned a specific tier in their crew record.
# - If a crew member's tier 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).