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

Validate an existing configuration #72

Open
calvinlfer opened this issue May 26, 2017 · 3 comments
Open

Validate an existing configuration #72

calvinlfer opened this issue May 26, 2017 · 3 comments

Comments

@calvinlfer
Copy link

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

@CyExy
Copy link
Contributor

CyExy commented Jun 11, 2017

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

@neilma
Copy link

neilma commented Jun 14, 2017

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

@albertux
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants