Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

feat(warmer): Warmer now supports all registry-related flags#1499

Merged
tejal29 merged 1 commit intoGoogleContainerTools:masterfrom
vbehar:warmer-registry-opts
Dec 11, 2020
Merged

feat(warmer): Warmer now supports all registry-related flags#1499
tejal29 merged 1 commit intoGoogleContainerTools:masterfrom
vbehar:warmer-registry-opts

Conversation

@vbehar
Copy link
Copy Markdown
Contributor

@vbehar vbehar commented Nov 20, 2020

Fixes #1423

Description

This PR adds all registry-related flags to the warmer command

which means we can now:

  • set up one or more mirrors
  • set up registries certificates
  • skip TLS verify
  • use plain HTTP
    using the same set of flags that are defined for the executor command

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes unit tests
  • Adds integration tests if needed.

See the contribution guide for more details.

Reviewer Notes

  • The code flow looks good.
  • Unit tests and or integration tests added.

Release Notes

warmer now supports the following flags:
- `--insecure-pull`
- `--skip-tls-verify-pull`
- `--insecure-registry`
- `--skip-tls-verify-registry`
- `--registry-certificate`
- `--registry-mirror`

@google-cla google-cla Bot added the cla: yes CLA signed by all commit authors label Nov 20, 2020
@tejal29
Copy link
Copy Markdown
Contributor

tejal29 commented Dec 9, 2020

@vbehar Would be able to rebase this PR on master?

@vbehar
Copy link
Copy Markdown
Contributor Author

vbehar commented Dec 9, 2020

sure, I'll do it today

which means we can now:
- set up one or more mirrors
- set up registries certificates
- skip TLS verify
- use plain HTTP
using the same set of flags that are defined for the executor
@vbehar vbehar force-pushed the warmer-registry-opts branch from 6a37fe5 to ac2c71c Compare December 9, 2020 09:17
@vbehar vbehar marked this pull request as ready for review December 9, 2020 09:24
@vbehar
Copy link
Copy Markdown
Contributor Author

vbehar commented Dec 9, 2020

@tejal29 ok, rebased and ready

Copy link
Copy Markdown
Contributor

@tejal29 tejal29 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @vbehar for all the refactoring. the code org certainly looks better.

@tejal29 tejal29 merged commit dde98a8 into GoogleContainerTools:master Dec 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes CLA signed by all commit authors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Registry mirror for warmer.

2 participants