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

Controller of Kong Plugin installation CRD is able to fetch OCI image and unpack content to ConfigMap #379

Open
1 task
Tracked by #371
programmer04 opened this issue Jun 27, 2024 · 0 comments
Assignees
Labels
area/feature New feature or request release/required
Milestone

Comments

@programmer04
Copy link
Member

Problem Statement

Based on values configured by the user proper

Provide actual implementation of a controller for Kong Plugin installation. Based on configured values in CRD, it should fetch OCI image with the plugin unpack it to secret, and report useful information about the status in status field of the defined object. The format of the expected OCI image is

FROM scratch
COPY plugin.lua ./

such image goes with the below flow

diagram

Source

What is in the blue box is in the scope of this issue.

Proposed Solution

Istio uses the aforementioned packaging as an image/blob.

This is how Istio implements it. It uses crane library to deal with them. See how it looks in their code and maybe reuse.

Acceptance Criteria

  • adding configuration for plugin leads to creation of a ConfigMap with a plugin and proper status is set in K8s object for available states
@programmer04 programmer04 added the area/feature New feature or request label Jun 27, 2024
@programmer04 programmer04 added this to the KGO v1.4.x milestone Jun 27, 2024
@programmer04 programmer04 self-assigned this Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/feature New feature or request release/required
Projects
None yet
Development

No branches or pull requests

1 participant