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

Break off a fulcioroot package. #639

Merged
merged 1 commit into from
Sep 8, 2021
Merged

Conversation

mattmoor
Copy link
Member

@mattmoor mattmoor commented Sep 8, 2021

The cosigned webhook pulls in the Fulcio roots, and runs as a K8s controller, which consumes klog. However, some of the certificate transparency stuff the Fulcio package pulls in consumes glog. These both define conflicting -log_dir flags, which cause cosigned to crash on startup.

With this change, cosigned can use fulcioroots.Get to load the roots without pulling in glog.

In a subsequent change, I have tests that should catch this before a breaking change merges.

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

The `cosigned` webhook pulls in the Fulcio roots, and runs as a K8s controller, which consumes `klog`.  However, some of the certificate transparency stuff the Fulcio package pulls in consumes `glog`.  These both define conflicting `-log_dir` flags, which cause `cosigned` to crash on startup.

With this change, `cosigned` can use `fulcioroots.Get` to load the roots without pulling in `glog`.

In a subsequent change, I have tests that should catch this before a breaking change merges.

Signed-off-by: Matt Moore <mattomata@gmail.com>
@dlorenc dlorenc merged commit 59be0ee into sigstore:main Sep 8, 2021
@mattmoor mattmoor deleted the fulcio-root branch September 8, 2021 19:56
@cpanato cpanato added this to the v1.2.0 milestone Sep 9, 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.

3 participants