Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add APIRule v2 documentation #1694

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

nataliasitko
Copy link
Contributor

@nataliasitko nataliasitko commented Feb 11, 2025

Description

Changes proposed in this pull request:

  • Add APIRule v2 documentation

Related issues

@nataliasitko nataliasitko requested a review from a team as a code owner February 11, 2025 08:35
@kyma-bot kyma-bot added cla: yes Indicates the PR's author has signed the CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Feb 11, 2025
@nataliasitko nataliasitko mentioned this pull request Feb 4, 2025
5 tasks
@@ -3,7 +3,15 @@
The `apirules.gateway.kyma-project.io` CRD describes the kind and the format of data the APIRule Controller uses to configure resources. The APIRule CR is available in two versions: `v2alpha1` and `v1beta1`.

> [!WARNING]
> APIRule in version `v1beta1` will become deprecated on October 28, 2024. To prepare for the introduction of the stable APIRule in version `v2`, you can start testing the API and the migration procedure using version `v2alpha1`. APIRule `v2alpha1` was introduced for testing purposes only and is not meant for use in a production environment. For more information, see the [APIRule migration blog post](https://community.sap.com/t5/technology-blogs-by-sap/sap-btp-kyma-runtime-apirule-migration-noauth-and-jwt-handlers/ba-p/13882833).
> APIRule in version `v1beta1` has been deprecated. Version `v2alpha1` was introduced for testing purposes. It will become deprecated on March 31, 2025 and removed on June 16, 2025. The stable APIRule `v2` will be introduced on March 31, 2025.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you can rephrase to read it is planned / it is scheduled

# APIRule v1beta1 Custom Resource <!-- {docsify-ignore-all} -->

> [!WARNING]
> APIRule in version `v1beta1` has been deprecated. Version `v2alpha1` was introduced for testing purposes. It will become deprecated on March 31, 2025 and removed on June 16, 2025. The stable APIRule `v2` will be introduced on March 31, 2025.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above comment. Please rephrase it to it is planned / scheduled

@@ -1,7 +1,11 @@
# APIRule v2alpha1 Custom Resource <!-- {docsify-ignore-all} -->

> [!WARNING]
> APIRule in version `v1beta1` will become deprecated on October 28, 2024. To prepare for the introduction of the stable APIRule in version `v2`, you can start testing the API and the migration procedure using version `v2alpha1`. APIRule `v2alpha1` was introduced for testing purposes only and is not meant for use in a production environment. For more information, see the [APIRule migration blog post](https://community.sap.com/t5/technology-blogs-by-sap/sap-btp-kyma-runtime-apirule-migration-noauth-and-jwt-handlers/ba-p/13882833).
> APIRule in version `v1beta1` has been deprecated. Version `v2alpha1` was introduced for testing purposes. It will become deprecated on March 31, 2025 and removed on June 16, 2025. The stable APIRule `v2` will be introduced on March 31, 2025.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rephrase it to it is scheduled / it is planned

> APIRule in version `v1beta1` has been deprecated. Version `v2alpha1` was introduced for testing purposes. It will become deprecated on March 31, 2025 and removed on June 16, 2025. The stable APIRule `v2` will be introduced on March 31, 2025.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please rephrase it to it is planned / scheduled

This tutorial demonstrates how to expose an unsecured instance of the HTTPBin Service using a short host name instead of the full domain name. Using a short host makes it simpler to apply APIRules because the domain name is automatically retrieved from the referenced Gateway, and you don’t have to manually set it in each APIRule. This might be particularly useful when reconfiguring resources in a new cluster, as it reduces the chance of errors and streamlines the process.

> [!WARNING]
> Exposing a workload to the outside world is a potential security vulnerability, so tread carefully. In a production environment, always secure the workload you expose with [JWT](../../01-50-expose-and-secure-a-workload/v2alpha1/01-52-expose-and-secure-workload-jwt.md).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it wrong v2alpha1 link?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is, fixed now

@@ -2,14 +2,23 @@
Browse the API Gateway tutorials to learn how to expose workloads. The tutorials are available in two versions: one uses the APIRule resource in version `v2alpha1` and the other uses the APIRule resource in version `v1beta1`.

> [!WARNING]
> APIRule in version `v1beta1` will become deprecated on October 28, 2024. To prepare for the introduction of the stable APIRule in version `v2`, you can start testing the API and the migration procedure using version `v2alpha1`. APIRule `v2alpha1` was introduced for testing purposes only and is not meant for use in a production environment. For more information, see the [APIRule migration blog post](https://community.sap.com/t5/technology-blogs-by-sap/sap-btp-kyma-runtime-apirule-migration-noauth-and-jwt-handlers/ba-p/13882833).
> APIRule in version `v1beta1` has been deprecated. Version `v2alpha1` was introduced for testing purposes. It will become deprecated on March 31, 2025 and removed on June 16, 2025. The stable APIRule `v2` will be introduced on March 31, 2025.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please rephrase it to it is planned / scheduled

@@ -2,14 +2,23 @@
Browse the API Gateway tutorials to learn how to expose workloads. The tutorials are available in two versions: one uses the APIRule resource in version `v2alpha1` and the other uses the APIRule resource in version `v1beta1`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ugh in three versions instead of two? v2 -> main stable version, v1beta1 -> deprecated, scheduled for removal, v2alpha1 -> testing short living version

@@ -2,15 +2,23 @@
Browse the API Gateway tutorials to learn how to expose and secure workloads. The tutorials are available in two versions: one uses the APIRule resource in version `v2alpha1` and the other uses the APIRule resource in version `v1beta1`.

> [!WARNING]
> APIRule in version `v1beta1` will become deprecated on October 28, 2024. To prepare for the introduction of the stable APIRule in version `v2`, you can start testing the API and the migration procedure using version `v2alpha1`. APIRule in version `v2alpha1` was introduced for testing purposes only and is not meant for use in a production environment. For more information, see the [APIRule migration blog post](https://community.sap.com/t5/technology-blogs-by-sap/sap-btp-kyma-runtime-apirule-migration-noauth-and-jwt-handlers/ba-p/13882833).
> APIRule in version `v1beta1` has been deprecated. Version `v2alpha1` was introduced for testing purposes. It will become deprecated on March 31, 2025 and removed on June 16, 2025. The stable APIRule `v2` will be introduced on March 31, 2025.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please rephrase it to it is planned / scheduled

@kyma-bot kyma-bot added the lgtm Looks good to me! label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Indicates the PR's author has signed the CLA. lgtm Looks good to me! size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants