I’m running Kong 2.1 as Ingress Controller. I wrote a custom plugin which stores a custom entity, then I created a migration for it although I assume it’s not going to be executed since there is no DB…
the log error I get when trying to store my custom entity is:
cannot create ‘’ entities when not using a database
so my question is: can I store custom entities when using DB-less mode? and if so, How?
You can’t use API endpoints to create them since the DB-less state file created all at once, but the system covered in that document will instruct the controller to add your entities when it builds the state file.
Doc had incorrect syntax. What you did with -n was correct, and I’ve sent in a request to fix it. Were you able to retrieve entities after the second port forward, with curl -k https://localhost:8444/<entity-name>?