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

Add support for using k8schain under a flag. #972

Merged
merged 1 commit into from
Oct 29, 2021

Conversation

mattmoor
Copy link
Member

This will help avoid needing to configure credential helpers in environments supporting ambient authentication.

Signed-off-by: Matt Moore mattomata@gmail.com

Ticket Link

Release Note

Add a --k8s-keychain option that enables cosign to support ambient registry credentials based on the "k8schain" library.

This will help avoid needing to configure credential helpers in environments supporting ambient authentication.

Signed-off-by: Matt Moore <mattomata@gmail.com>
@mattmoor
Copy link
Member Author

Previously I would have to take the published images and run them through https://github.com/docker-credential-magic/docker-credential-magic, but with this it should just be a flag.

We could decide to detect we're running within k8s and do this by default, but I figured that would be more contentious.

Copy link
Contributor

@n3wscott n3wscott left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@mattmoor mattmoor merged commit fbe6fab into sigstore:main Oct 29, 2021
@mattmoor mattmoor deleted the k8schain-option branch October 29, 2021 22:45
@github-actions github-actions bot added this to the v1.3.0 milestone Oct 29, 2021
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.

None yet

2 participants