django-qsessions icon indicating copy to clipboard operation
django-qsessions copied to clipboard

Deck validate is looking for a local Kong Gateway instance, despite passing konnect flags

Open dyeske61283 opened this issue 1 year ago • 3 comments

Bug

The commands exectuted:

  • deck validate --online --konnect-addr https://us.api.konghq.com --konnect-runtime-group-name default --state Desktop/konnect-dump.yml
  • deck validate --online --konnect-runtime-group-name default --state Desktop/konnect-dump.yml

I have a file with Konnect user credentials saved in the default location ~/.deck.yaml

The error message: Error: building state: creating defaulter: get defaults for services: retrieve schema for services from Kong: making HTTP request: Get "http://localhost:8001/schemas/services": dial tcp [::1]:8001: connect: connection refused

Deck is clearly trying to retrieve schema information from a local Kong Gateway instance, despite me passing Konnect flags. According to this documentation page these settings should be sufficient: https://docs.konghq.com/deck/latest/guides/konnect/

For the sync, diff and ping commands this works as intended.

dyeske61283 avatar Jul 14 '22 10:07 dyeske61283