-
Notifications
You must be signed in to change notification settings - Fork 173
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
Adding crane ls command #1835
Adding crane ls command #1835
Conversation
✅ Deploy Preview for zarf-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
ecfdc1b
to
d2a85c7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the logic overall looks good - added some feedback on internal vs external registry support. Also you'll need to run make docs-and-schema
to update the CLI docs. Also as a heads up / note this may hit some small merge conflicts with #1848 as well (edit: the conflicts were really minor so I merged it in)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
f7c3f0e
to
068f846
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make docs-and-schema
looks like it still needs to be ran
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm (ah GitHub race conditions...)
I am seeing an issue with |
Hmm that might be because of your OS... What were you devving on? |
macOS Ventura 13.4 |
Hmm I mostly run flavors of Linux - might be something with the |
Looks like if you remove one newline from the doc you added that would make it pass. |
Yah. Fixed on my end with an alias to gsed. https://superuser.com/questions/307165/newlines-in-sed-on-mac-os-x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! 🎉
PS, I plan to work in |
Yep! That works following the pattern established here. Will definitely make the crane commands more useful. |
… auth (#1851) Allow for internal crane pulls and pushes without a tunnel + explicit credentials ## Description This gives the same ability as #1835 to `zarf tools crane push` and `zarf tools crane pull`. Essentially, you shouldn't have to create a tunnel and auth to the registry to pull or push images to it. ## Related Issue #1835 ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Other (security config, docs update, etc) ## Checklist before merging - [x] Test, docs, adr added or updated as needed - [x] [Contributor Guide Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow) followed Co-authored-by: Wayne Starr <[email protected]>
Description
This adds support for
crane ls
. This feature is very useful when attempting to do some automation of updating images. The only other way to do this is to runzarf connect registry
and then request the tags endpoint of the registry.Related Issue
N/A
Type of change
Checklist before merging