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

Deprecated Environment Variable "KONG_ADMIN_API_URI" in Helm Chart Template #1119

Open
putivan opened this issue Aug 23, 2024 · 0 comments
Open

Comments

@putivan
Copy link

putivan commented Aug 23, 2024

When Values.admin.ingress is enabled in the Helm values file, the Helm Chart creates an Ingress resource to expose the Kong Admin API, which results in a warning message appearing in the logs.

"[warn] the 'admin_api_uri' configuration property is deprecated, use 'admin_gui_api_url' instead"

It appears that the '_helper.tpl' template sets the deprecated environment variable KONG_ADMIN_API_URI when Kong is deployed. Since this variable is marked as deprecated, should it be removed from the template code?

Here is the relevant section of the template:
View Template Code

Steps to Reproduce:

  • Enable Values.admin.ingress in the Helm values file.
  • Deploy the Helm chart.
  • Observe the warning message in the logs regarding the deprecated KONG_ADMIN_API_URI variable.

Expected Behavior:
The deprecated KONG_ADMIN_API_URI environment variable should not be set, and the warning message should not appear.

Thank you for your attention to this matter!

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

1 participant