django-qsessions
django-qsessions copied to clipboard
Deck validate is looking for a local Kong Gateway instance, despite passing konnect flags
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.