Skip to content

Write owner manifest object into each managed bucket #85

Description

@bmarinov

Is your feature request related to a problem? Please describe.
Garage has no tagging support, so orphaned buckets (after the Kubernetes resource is deleted) carry no metadata linking them to the namespace/team that created them. Manual cleanup is hardly possible.

Describe the solution you'd like
On bucket creation/import, the controller writes a small JSON object to a well-known key (.garage-controller/owner.json) inside the bucket.

Describe alternatives you've considered
No viable alternatives until Garage supports tagging.

Additional context

  • PutObject via raw HTTP + Sig signing (no S3 SDK, stdlib only)
  • Controller maintains one internal S3 key; grants it temporary owner access.
  • Controller access revoked after meta write
  • Bucket ready not blocked, metadata write happens after bucket is fully reconciled from the user PoV.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions