ratify icon indicating copy to clipboard operation
ratify copied to clipboard

Add `type` field to store/policy json config

Open binbin-li opened this issue 1 year ago • 1 comments

What would you like to be added?

When we configure store or policy through CRD, the metadata.name is the real name for this resource, and spec.name behaves as type. When we refactored verifier, verifier json config already supported both name and type fields so that users could set multiple verifiers of the same type. We should also add type field to store and policy json config so that all resources have consistent behavior in CLI mode.

Anything else you would like to add?

No response

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

  • [ ] Yes, I am willing to implement it.

binbin-li avatar Jan 29 '24 14:01 binbin-li

Tackle during CLI scenarios

luisdlp avatar Jan 30 '24 01:01 luisdlp