Migrate APIRule from Version v1beta1 to Version v2 ​
APIRule custom resource (CR) v1beta1 has been deprecated and scheduled for deletion. You must migrate all your APIRule CRs to version v2. Learn more about the timeline and see how to perform the migration.
WARNING
APIRule CRD v2 is the latest stable version. Version v1beta1 has been deprecated and will be removed in upcoming releases. Due to the upcoming deletion, managing APIRules v1beta1 using Kyma dashboard is no longer possible. Additionally, you can't create APIRules v1beta1 in new clusters. For the complete deletion timeline for SAP BTP, Kyma runtime, see APIRule Migration Timeline.
How to Migrate APIRules to Version v2 ​
To migrate to version v2, follow the steps:
To identify which APIRules must be migrated, run the following command:
bashkubectl get apirules.gateway.kyma-project.io -A -o json | jq '.items[] | select(.metadata.annotations["gateway.kyma-project.io/original-version"] == "v1beta1") | {namespace: .metadata.namespace, name: .metadata.name}'To retrieve the complete spec with the rules field of an APIRule in version
v1beta1, see Retrieving the Complete spec of an APIRule in Versionv1beta1.To migrate an APIRule from version
v1beta1to versionv2, follow the relevant guide:
For more information about APIRule v2, see also APIRule v2 Custom Resource and Changes Introduced in APIRule v2.
APIRule v1beta1 Migration Timeline ​
APIRule CRDs in versions v1beta1 and v2alpha1 have been deprecated and will be removed in upcoming releases. Due to the upcoming deletion, managing APIRules v1beta1 using Kyma dashboard is no longer possible. Additionally, you can't create APIRules v1beta1 in new clusters.
For the complete deletion timeline for SAP BTP, Kyma runtime, see APIRule Migration Timeline.