-
Notifications
You must be signed in to change notification settings - Fork 67
Plumb TrustRoot CRD through to CIP CRDs. Make TrustRoot available to webhook, clean up and refactor checkOpts logic. #436
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
Changes from all commits
b950421
ca1f955
279d12e
e14c9c8
0841dfb
a5e7806
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -141,6 +141,7 @@ KeylessRef contains location of the validating certificate and the identities ag | |
| | url | URL defines a url to the keyless instance. | apis.URL | false | | ||
| | identities | Identities sets a list of identities. | [][Identity](#identity) | false | | ||
| | ca-cert | CACert sets a reference to CA certificate | [KeyRef](#keyref) | false | | ||
| | trustRootRef | Use the Certificate Chain from the referred TrustRoot.CertificateAuthorities and TrustRoot.CTLog | string | false | | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I thought you wrote There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see you refer to the keyless, so you use CTLog although I will assume you refer to the rekor instance instead and so use TLog. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well, this one is actually the CTLog, since it's the CA for Fulcio, and the CTLog for the Trillian that Fulcio writes to. |
||
|
|
||
| [Back to TOC](#table-of-contents) | ||
|
|
||
|
|
@@ -199,5 +200,6 @@ TLog specifies the URL to a transparency log that holds the signature and public | |
| | Field | Description | Scheme | Required | | ||
| | ----- | ----------- | ------ | -------- | | ||
| | url | URL sets the url to the rekor instance (by default the public rekor.sigstore.dev) | apis.URL | false | | ||
| | trustRootRef | Use the Public Key from the referred TrustRoot.TLog | string | false | | ||
|
|
||
| [Back to TOC](#table-of-contents) | ||
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 realized we are using a confusing mix of terms between CTLog and TLog imho. CTLog sets the configuration to verify the authority against a Rekor instance.For the SigstoreKey, we refer to TLog as that rekor instance. Aren't we mixing these two terms ? Or it is just me :).
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.
You're not the only one confused :) That was an early screw up in the namings. I reckon we should fix this in the move to say v1beta2 or whatever the next one is that allows us to break the namings. But rather than keep the bad naming going, I tried to fix it here to be consistent with what we want it to be.
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 feel my confusion comes from the usage of
ctloghere https://github.com/sigstore/policy-controller/pull/436/files#diff-83af2b17cb5361a5b3357d63c88e4965bfa07cb58917fbc0b88dd071cea39ccaR113 when we refer to a TLog resource type.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.
The top level (the one on L103 is the broken name, it should be TLog). The object it points to internally is Tlog, and there we use TLog.
Spec.CTLog Should really be Spec.TLog.
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 opened #442
to track this for the next API rev.