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

[tink worker] Make registry CLI flags optional #609

Merged
merged 1 commit into from
Apr 26, 2022

Conversation

jacobweinstock
Copy link
Member

Description

Make docker-registry, registry-username, and registry-password CLI flags optional:

A previous commit allowed an empty registry to be used when running a tink worker action. This allows tink worker to take advantage of that update by not requiring these registry CLI flags.

Currently, if these values are not passed in via /proc/cmdline then tink worker will fail to start.

Why is this needed

Fixes: #

How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

…optional:

A previous commit allowed an empty registry to be used when
running a tink worker action. This allows tink worker to take
advantage of that update by not requiring these registry CLI flags.

Signed-off-by: Jacob Weinstock <[email protected]>
@codecov
Copy link

codecov bot commented Apr 19, 2022

Codecov Report

Merging #609 (8d0f44d) into main (2b87714) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #609   +/-   ##
=======================================
  Coverage   45.86%   45.86%           
=======================================
  Files          56       56           
  Lines        3268     3268           
=======================================
  Hits         1499     1499           
  Misses       1686     1686           
  Partials       83       83           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2b87714...8d0f44d. Read the comment docs.

Copy link
Contributor

@micahhausler micahhausler left a comment

Choose a reason for hiding this comment

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

LGTM

@mmlb mmlb added the ready-to-merge Signal to Mergify to merge the PR. label Apr 25, 2022
@jacobweinstock jacobweinstock added ready-to-merge Signal to Mergify to merge the PR. and removed ready-to-merge Signal to Mergify to merge the PR. labels Apr 26, 2022
@mergify mergify bot merged commit a80e0e1 into tinkerbell:main Apr 26, 2022
@jacobweinstock jacobweinstock deleted the registry-optional branch April 26, 2022 02:57
@displague displague added this to the 0.7.0 milestone Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge Signal to Mergify to merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants