liyuntao / kong-init

Declarative configuration tool for Kong
Apache License 2.0
38 stars 8 forks source link

Requires plugins, consumers, credentials #17

Closed SamKirsch10 closed 5 years ago

SamKirsch10 commented 5 years ago

Hi, First, thanks so much for this amazing tool! It makes our lives much, MUCH easier.

It looks like the latest version is requiring a plugins, consumers, and credentials section. These should be optional, right? If I have a file like below, it will error about a plugins section, then a consumers section, then a credentials section.

--- 
services:
  - name: test.local
    url: test.local
routes:
  - name: test.local
    apply_to: test.local
    config:
      hosts:
         - test.local
       methods: 
         - GET
liyuntao commented 5 years ago

@SamKirsch10 Thanks for the suggestion. Please have a try on v0.8.0-rc-4, these fields are already optional.

SamKirsch10 commented 5 years ago

Thanks! Works great!