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

Translate KongCustomEntity CRs to Kong entities in declarative configuration #5976

Open
2 of 4 tasks
randmonkey opened this issue May 7, 2024 · 0 comments
Open
2 of 4 tasks

Comments

@randmonkey
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Does this enhancement require public documentation?

  • I have added an Acceptance Criteria item for adding and/or adjusting public documentation (if applicable)

Problem Statement

Split from #4556.
To support custom entities specified by KongCustomEntity CRs in DBLess mode, we need to translate the CRs and attach them to correct entities if they are needed to attach.

Proposed Solution

  • Translate KongCustomEntity CRs to lists of entities in declarative configuration. Entities having the same type are in the same list.
  • Find out the attached entity (service/route/consumer/...) by its parent KongPlugin or KongClusterPlugin and add foreign keys to the fields

Additional information

No response

Acceptance Criteria

  • Fields of KongCustomEntity CRs are correctly translated in declarative config
  • For entities attached to other entities, the parent is correctly found and their keys are filled in fields of translated Kong custom entities
@randmonkey randmonkey added this to the KIC v3.2.x milestone May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant