You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If user is running a previous Ratify version with v1alpha1 policy, once users upgrade to v1beta1 policy, Ratify cannot read existing CR objects in v1alpha1 as the conversion method seems not triggered.
We need to find out why the conversion logic is not triggered and make it working for CRD multi-version compatibility.
What did you expect to happen?
No response
What version of Kubernetes are you running?
No response
What version of Ratify are you running?
No response
Anything else you would like to add?
No response
Are you willing to submit PRs to contribute to this bug fix?
Yes, I am willing to implement it.
The text was updated successfully, but these errors were encountered:
metadata.name and metadata.namespace are immutable, so CRD conversion webhook cannot update it.
Currently we select unversioned as a Hub version. To make it work with CRD conversion webhook, we need to remove the unversioned and set v1beta1 as the Hub version, v1alpha1 as the spoke version.
We need to install cert-manager to generate certs and inject CA bundles to webhooks.
A patch update would be applied to CRDs, which requires Ratify's namespace. And since CRDs cannot be templated in Helm, namespace would be hardcoded and updated per namespaces. e.g. example
What happened in your environment?
If user is running a previous Ratify version with v1alpha1 policy, once users upgrade to v1beta1 policy, Ratify cannot read existing CR objects in v1alpha1 as the conversion method seems not triggered.
We need to find out why the conversion logic is not triggered and make it working for CRD multi-version compatibility.
What did you expect to happen?
No response
What version of Kubernetes are you running?
No response
What version of Ratify are you running?
No response
Anything else you would like to add?
No response
Are you willing to submit PRs to contribute to this bug fix?
The text was updated successfully, but these errors were encountered: