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

Introduction to stable Istio-based APIRule v2 #322

Open
4 of 9 tasks
strekm opened this issue Apr 19, 2023 · 11 comments
Open
4 of 9 tasks

Introduction to stable Istio-based APIRule v2 #322

strekm opened this issue Apr 19, 2023 · 11 comments
Labels
area/api-gateway Issues or PRs related to api-gateway Epic kind/feature Categorizes issue or PR as related to a new feature.

Comments

@strekm
Copy link
Contributor

strekm commented Apr 19, 2023

Description

Provide stable version of APIRule CRD based on istio. It should include reworked JWT handler based on Istio RequestAuthentication and AuthorizationPolicy CRs and reworked oauth2 flows based on Istio extension provider and oauth2proxy component. Introduced API won't be fully backward compatible.

Early adopters

To accommodate customers is making that shift firstly feature toggle will be introduced to allow early adopters for testing. There will be documentation provided describing CRD and incompatibilities. OS back and internal backlog should be used to report feedback. Team will provide support on best effort.

Introducing v2alpha1

To simplify quick adoption and shift into v1 direction v1beta2 will be introduced. API design should be promoted to v2 without significant changes allowing users to start migrating and getting familiar with changes.

Introducing v2

For reasonable amount of time both versions of APIRule CRD will be available to make transition smoother. Tutorial will showcase v2 version but previous version also be available. Migration script will be provided for upgrades.

Tasks

Reasons

Provide stable API for workloads exposure based on Istio. Introduce reliable and simple way for users to expose and secure their workload. Unify all handler by utilising Istio features. Reduce not necessary hops by eliminating ORY oathkeeper pushing responsibilities to Istio itself. Promote security good practices that are easy utilised by using APIRule CR.

Attachments
https://istio.io/latest/docs/reference/config/security/request_authentication/
https://istio.io/latest/docs/reference/config/security/authorization-policy
https://istio.io/latest/docs/tasks/security/authorization/authz-custom/

@kyma-bot
Copy link
Contributor

This issue or PR has been automatically marked as stale due to the lack of recent activity.
Thank you for your contributions.

This bot triages issues and PRs according to the following rules:

  • After 60d of inactivity, lifecycle/stale is applied
  • After 7d of inactivity since lifecycle/stale was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Close this issue or PR with /close

If you think that I work incorrectly, kindly raise an issue with the problem.

/lifecycle stale

@kyma-bot kyma-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 28, 2023
@strekm strekm removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 3, 2023
@kyma-bot
Copy link
Contributor

kyma-bot commented Oct 2, 2023

This issue or PR has been automatically marked as stale due to the lack of recent activity.
Thank you for your contributions.

This bot triages issues and PRs according to the following rules:

  • After 60d of inactivity, lifecycle/stale is applied
  • After 7d of inactivity since lifecycle/stale was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Close this issue or PR with /close

If you think that I work incorrectly, kindly raise an issue with the problem.

/lifecycle stale

@kyma-bot kyma-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 2, 2023
@strekm strekm removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 6, 2023
@kyma-bot
Copy link
Contributor

kyma-bot commented Dec 5, 2023

This issue or PR has been automatically marked as stale due to the lack of recent activity.
Thank you for your contributions.

This bot triages issues and PRs according to the following rules:

  • After 60d of inactivity, lifecycle/stale is applied
  • After 7d of inactivity since lifecycle/stale was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Close this issue or PR with /close

If you think that I work incorrectly, kindly raise an issue with the problem.

/lifecycle stale

@kyma-bot kyma-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 5, 2023
@kyma-bot
Copy link
Contributor

This issue or PR has been automatically closed due to the lack of activity.
Thank you for your contributions.

This bot triages issues and PRs according to the following rules:

  • After 60d of inactivity, lifecycle/stale is applied
  • After 7d of inactivity since lifecycle/stale was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle stale

If you think that I work incorrectly, kindly raise an issue with the problem.

/close

@kyma-bot
Copy link
Contributor

@kyma-bot: Closing this issue.

In response to this:

This issue or PR has been automatically closed due to the lack of activity.
Thank you for your contributions.

This bot triages issues and PRs according to the following rules:

  • After 60d of inactivity, lifecycle/stale is applied
  • After 7d of inactivity since lifecycle/stale was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle stale

If you think that I work incorrectly, kindly raise an issue with the problem.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@strekm strekm removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 15, 2023
@strekm strekm reopened this Dec 15, 2023
@strekm strekm mentioned this issue Feb 29, 2024
3 tasks
@strekm strekm mentioned this issue Mar 14, 2024
18 tasks
@strekm strekm added the area/api-gateway Issues or PRs related to api-gateway label Mar 15, 2024
@strekm strekm changed the title APIRule v1 Introduction to stable Istio-based APIRule v1 Mar 26, 2024
@strekm
Copy link
Contributor Author

strekm commented May 10, 2024

At this moment we are focusing on introduction of APIRule v1beta2, progress can be tracked #939.

@strekm
Copy link
Contributor Author

strekm commented Jun 17, 2024

We have stabilised first version of APIRule. atm we are working on renaming that can be tracked in #1088

@strekm strekm changed the title Introduction to stable Istio-based APIRule v1 Introduction to stable Istio-based APIRule v2 Jun 24, 2024
@triffer triffer mentioned this issue Jul 12, 2024
1 task
@strekm
Copy link
Contributor Author

strekm commented Jul 12, 2024

We are closing scope for first version of APIRule with no auth and jwt handlers with support for zero downtime migration

@strekm
Copy link
Contributor Author

strekm commented Jul 23, 2024

Happy to announce that we just released API Gateway 2.4.0, which introduces first version of APIRule v2alpha1. This version contains noAuth and jwt handlers purely based on Istio. Next releases will introduce support for mutators and extAuth.

Stay tuned!

@strekm
Copy link
Contributor Author

strekm commented Oct 29, 2024

API Gateway 2.8.0 introducing UI supporting APIRule v2alpha1 in Kyma dashboard was rolled out to fast channel on 29.10 and it is scheduled to be promoted to regular channel on 12.11 for managed Kyma offering. This closed first big milestone in journey to stable APIRule v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api-gateway Issues or PRs related to api-gateway Epic kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants