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

feat(*) refactor and simplify parsing of ingress rules to kong config #260

Merged
merged 1 commit into from
Apr 1, 2019

Conversation

hbagdi
Copy link
Member

@hbagdi hbagdi commented Apr 1, 2019

Breaking changes

  • KongIngress overrides for Service and Upstream will now be picked up
    from annotation on the service and not the route.

Changelog:

  • Directly translate to Kong configuration objects
    Previously, the Ingress rules were parsed into Nginx Server and
    Location blocks, and then translated to Kong configuration. This was
    more complicated and information was lost during translation.
  • Translation is now done to an intermediate Kong state and then further
    translated to the final format. The final format will differ, based on
    if Kong is running in a db or a db-less mode.
  • Method based routes are now supported (Routes with the same path but different methods are not being created #202)
  • Default backend in Ingress rules is now respected and a default
    fallback route in Kong will be created if a default backend exists in
    one of the Ingress objects. If multiple Ingress objects have a default
    backed, the Ingress created first will be respected.

Fix #202
Fix #241

Breaking changes
-  KongIngress overrides for Service and Upstream will now be picked up
  from annotation on the service and not the route.

Changelog:
- Directly translate to Kong configuration objects
  Previously, the Ingress rules were parsed into Nginx Server and
  Location blocks, and then translated to Kong configuration. This was
  more complicated and information was lost during translation.
- Translation is now done to an intermediate Kong state and then further
  translated to the final format. The final format will differ, based on
  if Kong is running in a db or a db-less mode.
- Method based routes are now supported (#202)
- Default backend in Ingress rules is now respected and a default
  fallback route in Kong will be created if a default backend exists in
  one of the Ingress objects. If multiple Ingress objects have a default
  backed, the Ingress created first will be respected.

Fix #202
Fix #241
@hbagdi hbagdi merged commit 09fb67c into next Apr 1, 2019
@hbagdi hbagdi deleted the refactor/core-translation branch April 1, 2019 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant