Skip to content

Add Chef Supermarket proxy support #264

Description

@andrew

Chef is listed as incomplete in the supported registries table. Add read-only caching proxy support for Chef Supermarket.

The handler should proxy and cache the /universe dependency index and cookbook API responses, rewrite cookbook download locations to the proxy, follow upstream download redirects, and cache versioned cookbook archives. Custom Supermarket servers and configured upstream credentials should be supported.

Metadata should follow the existing TTL and stale-cache behavior. Cached cookbook archives should remain available when the upstream is unavailable.

Cover the Berkshelf flow and protocol behavior with tests:

  • retrieving and rewriting the universe index
  • cookbook metadata and versioned downloads
  • dependency information remains unchanged
  • redirects, cache hits, and offline reads
  • upstream authentication
  • README and configuration instructions for Berkshelf

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions