Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Kong Plugin settings with [object Object] #536

Closed
UNOPARATOR opened this issue Feb 28, 2020 · 2 comments
Closed

Kong Plugin settings with [object Object] #536

UNOPARATOR opened this issue Feb 28, 2020 · 2 comments

Comments

@UNOPARATOR
Copy link

The official Kong 2.0 plugin called ACME has some settings which are not boolean, integer or strings but whole Json objects.

config.storage_config is a table for all posisble storage types, by default it is:

   "storage_config": {
       "kong": {},
       "shm": {
           "shm_name": "kong"
       },
       "redis": {
           "auth": null,
           "port": 6379,
           "database": 0,
           "host": "127.0.0.1"
       },
       "consul": {
           "host": "127.0.0.1",
           "port": 8500,
           "token": null,
           "kv_path": "acme"
       },
       "vault": {
           "host": "127.0.0.1",
           "port": 8200,
           "token": null,
           "kv_path": "acme"
       },
   }

These settings are shown as [object Object] in Konga plugin UI (see below):
image

It would be nice to be able to set this kind of settings in the UI (preferably with the default values shown).

pantsel pushed a commit that referenced this issue May 4, 2020
@pantsel
Copy link
Owner

pantsel commented May 4, 2020

ACME plugin is implemented at #536. Thanks for the notice.

@pantsel pantsel closed this as completed May 4, 2020
@UNOPARATOR
Copy link
Author

Do you have a planned release date for the changes in the "next" branch?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants