kongfig icon indicating copy to clipboard operation
kongfig copied to clipboard

Validate an existing configuration

Open calvinlfer opened this issue 7 years ago • 3 comments

Hello,

Is it possible to validate an existing Kongfig configuration without having to upload the configuration to the Kong server to verify if you have a valid configuration

calvinlfer avatar May 26 '17 15:05 calvinlfer

Adding a command to do a diff between server state and local config should do the trick.

Considerations:

  • diff command exit code
  • unmanaged default values
  • unmanaged definitions

CyExy avatar Jun 11 '17 16:06 CyExy

@CyExy can you elaborate by giving an example? Did you mean git diff?

neilma avatar Jun 14 '17 00:06 neilma

@neilma if you have your yaml files in git repo yes git diff help

albertux avatar Sep 18 '18 03:09 albertux