Tags are not applied to plugin entities in the generated declarative config
See original GitHub issueDescribe the bug
When the x-kong-plugin
entity is used in a spec, when generating config using one of the entry point methods (for example generateFromString
, the default tag or any tags provided are not applied to the generated declarative config of the plugin.
See example in the comment below.
To Reproduce Steps to reproduce the behavior:
- In Insomnia Designer or the inso CLI, take a spec
- Click Generate Config or run inso generate config <spec>
Expected behavior The generated declarative config should tag the Services, Routes and plug-ins appropriately.
INS-175
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Distributed Configuration for Kong using decK - v1.17.x
Tags, introduced in Kong 1.1, provide a way to associate metadata with entities in Kong. You can also filter entities by tags on...
Read more >jenkins trigger build if new tag is released - Stack Overflow
In summary, jenkins will only build new tags if they point to commits that are not tagged already, and this is currently not...
Read more >Declarative Setup - Argo CD - Read the Docs
Argo CD applications, projects and settings can be defined declaratively using Kubernetes manifests. These can be updated using kubectl apply , without ...
Read more >openapi-2-kong - npm Package Health Analysis - Snyk
This module generates Kong Declarative Config and Kong for Kubernetes config, ... Each generated entity will get the tags as specified as well...
Read more >inso generate config | Insomnia Docs
The command works similarly to generating a declarative configuration file or ... --tags <tags>, comma-separated list of tags to apply to each entity...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That clears it up, thank you!
Good eyes, and thanks for clarifying upfront @rmsy 👀
The only way to provide tags (currently) is to send them as arguments to the entry point functions in index.js. Here is some documentation showing how tags behave currently.
The original issue report overlaps another feature request - to provide tags from the spec #2682 - which is not yet accepted.
I will remove the example from the original post and move it to the related issue. That will leave my comment with the example spec and the expected output, with no tags in the input spec. In this example, the default
OAS3_import
tag, or any provided as an argument to, for example,generateFromString
should be applied to the plugin.Does that clear things up?