Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Private registry #3

Merged
merged 6 commits into from
Feb 12, 2025
Merged

Private registry #3

merged 6 commits into from
Feb 12, 2025

Conversation

obeone
Copy link
Owner

@obeone obeone commented Feb 12, 2025

This PR add the possibility to have private registry

…gistry type support for cache and normal registries

This commit introduces a new 'type' field in the config.sample.yaml to distinguish between caching and normal registries. It modifies functions.py to handle this new type by configuring or removing the proxy accordingly. The generate.py script is updated to set a default type of 'cache' if not specified and to ensure proper handling of the password field. Additionally, setup.py is enhanced to prompt users for adding a private registry with type 'registry'.
This commit adds default values to the prompts for entering registry details in setup.py. The defaults are "docker" for the registry name, "https://registry-1.docker.io" for the registry URL, and "720h" for the TTL. Additionally, a default value of "private" is added for the private registry name prompt.
This commit adds comments throughout the setup.py script to enhance code readability and understandability. The comments cover module imports, YAML parser configuration, user prompts, registry configuration, storage options, and final steps instructions. These annotations will help other developers comprehend the flow and purpose of each section within the script.
Expanded README with a new 'Features' section, highlighting the guide's capabilities, including support for private registries and Docker/Kubernetes compatibility. Enhanced instructions to cover advanced configurations related to private registries. Updated keywords for better context.
@obeone obeone merged commit 797e4fd into main Feb 12, 2025
3 checks passed
@obeone obeone deleted the feature/private-registry branch February 12, 2025 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant