Sigstore Policy Controller - an admission controller that can be used to enforce policy on a Kubernetes cluster based on verifiable supply-chain metadata from cosign
Other
123
stars
54
forks
source link
Clean up the CTLog vs TLog confusion in the API. #442
The internal field name is CTLog, and the json field is ctlog, and it really should be called TLog. This is confusing because there is a CTLog (that Fulcio points to and writes to).
We should make this a change in the next API rev, including the proper conversions, etc.
Description
Due to a series of unfortunate events the field name that points to Transparency Log (aka, Rekor) is incorrectly / confusingly called CTLog: https://github.com/sigstore/policy-controller/blob/main/pkg/apis/policy/v1alpha1/clusterimagepolicy_types.go#L113
The internal field name is
CTLog
, and the json field isctlog
, and it really should be called TLog. This is confusing because there is a CTLog (that Fulcio points to and writes to).We should make this a change in the next API rev, including the proper conversions, etc.
Version v1alpha1, v1beta1