-
Notifications
You must be signed in to change notification settings - Fork 54
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
Using custom Kong Configuration #558
Comments
in the tests you can specify enviornment variables, that will override whatever is in |
But i need this during development. Let's say i want to connect to AWS secret manager, i'll have to add few environment variables. |
each entry in that table is exported. For example it has This allows you to override all of the |
If i'm not wrong that will take affect only during test runs. But what if i want to do something like:
and then:
Make code code changes in the plugin and i need a custom config like said above? |
after you start the shell (before If you want to automate it you can use the initialization scripts. See https://github.com/Kong/kong-pongo?tab=readme-ov-file#test-initialization |
I tried but i think it has no affect.
Again we are talking about tests here. And my requirement is not with tests but with development. One hacky workaround is to simply add these env vars in the |
the test initialization scripts run whenever a container is started, either on Please provide more details and exact commands you tried with expected and received output. |
Is is possible to customise the Kong configuration through a kong.conf file or through and environment variable?
for ex:
The text was updated successfully, but these errors were encountered: