kubeshop / kusk-gateway

Kusk-gateway is an OpenAPI-driven API Gateway for Kubernetes
https://kubeshop.github.io/kusk-gateway/
MIT License
253 stars 21 forks source link

API Server response is missing fleet and fleetname #1000

Closed aabedraba closed 1 year ago

aabedraba commented 1 year ago

@mortada-codes to add more details

mortada-codes commented 1 year ago

when i am trying to use /apis/{namespace}/{name}. the response is missing fleet name and fleet namespace

Image

kylehodgetts commented 1 year ago

In the most recent version of the api, the fleet name and namespace is returned as expected

curl -s localhost:8080/apis/default/httpbin-sample | jq
{
  "name": "httpbin-sample",
  "namespace": "default",
  "fleet": {
    "name": "kusk-gateway-envoy-fleet",
    "namespace": "kusk-system"
  },
  "service": {
    "name": "httpbin",
    "namespace": "default"
  },
  "version": "1.0"
}