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

Kong Go-plugins dir is not created and users of the image must create it before running this image #667

Open
mdelapenya opened this issue Aug 10, 2023 · 1 comment

Comments

@mdelapenya
Copy link

Hi 👋 ! I'm assisting @gAmUssA in creating the testcontainers-go module for Kong, and realised that this directory is needed to add the goplug plugin.

Do you think that upcoming images could come with /usr/local/kong/go-plugins/bin already created? Otherwise, we're forced to build an image from this one (https://github.com/gAmUssA/testcontainers-go-kong/blob/main/kong.go#L33), run mkdir -p /usr/local/kong/go-plugins/bin (https://github.com/gAmUssA/testcontainers-go-kong/blob/main/Dockerfile#L4), and this for each test execution.

If the image could come with that dir layout would be super simple to create the module without workarounds.

I'd understand this request could be out of the scope of the project, so feel free to close it if needed.

Thanks in advance!

@gAmUssA
Copy link

gAmUssA commented Aug 10, 2023

According to https://docs.konghq.com/gateway/latest/plugin-development/pluginserver/plugins-kubernetes/ we can use /usr/local/bin directory to copy plugin binary.

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

No branches or pull requests

2 participants