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

Install packed plugin #3

Closed
rmaugusto opened this issue Jan 15, 2020 · 2 comments
Closed

Install packed plugin #3

rmaugusto opened this issue Jan 15, 2020 · 2 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@rmaugusto
Copy link

The feature of installing custom plugins is great.
But all .lua files must be in the same directory because of configmap issue.
It would be interesting to add tar.gz or .rock in configmap with all directory structure and dependencies and to unpack in startup time.
Configmap is readonly, maybe you could merge all plugins to an emptyDir.

@hbagdi hbagdi added the enhancement New feature or request label Jan 15, 2020
@hbagdi
Copy link
Member

hbagdi commented Feb 13, 2020

It is unlikely that we will add this feature. We provide a way to configure plugins via ConfigMaps for simple use-cases but it was never intended to work for each and every case.

Even so, we have accepted #24 which provides an alternate solution for plugins with multiple sub-directories.

I'd advise that for complicated plugins you should build a Docker image based on Kong's official Docker image.

@hbagdi hbagdi added the wontfix This will not be worked on label Feb 14, 2020
@rainest
Copy link
Contributor

rainest commented Feb 27, 2020

Version 1.3.0 of the Kong chart is now released.

It includes the new plugin subdirectory handling system at https://github.com/Kong/charts/blob/kong-1.3.0/charts/kong/values.yaml#L131-L150, which is not the same as this request, but should work for plugins with subdirectories.

There's still not a means of handling plugins with external dependencies through that system. For now, the only way to handle those is via custom image builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants