ratify-project / ratify

Artifact Ratification Framework
https://ratify.dev
Apache License 2.0
203 stars 58 forks source link

Switch `name` field in CRDs to `type` #1285

Closed akashsinghal closed 5 days ago

akashsinghal commented 7 months ago

What would you like to be added?

Ratify has introduced new type field for CLI scenarios of verifier allowing for multiple instances of same verifier with unique config to exist at once. Right now, the type field used in CLI maps to the name field in CRD and the uniquely identifier name in CLI is equivalent to CRDs metadata.name. Moving forward, we should switch name field to type in CRDs.

This will require:

Anything else you would like to add?

No response

Are you willing to submit PRs to contribute to this feature?

susanshi commented 1 month ago

Hi @junczhu , we discussed in community meeting. Please help us understand if both property is available now, the plan is to deprecate "name" in ratify v2.0.0

junczhu commented 2 weeks ago

Hi @junczhu , we discussed in community meeting. Please help us understand if both property is available now, the plan is to deprecate "name" in ratify v2.0.0

Property is currently not available in CRDs, we may need to introducing the Type field as mentioned above

susanshi commented 2 weeks ago

not critical for 1.3 , may spill over to 1.4

junczhu commented 1 week ago

add related: https://github.com/ratify-project/ratify/issues/1284