How do I configure swagger to use https instead of...
# troubleshooting
p
How do I configure swagger to use https instead of http? I am using community provided helm charts to deploy Pinot on a k8s cluster. If it matters, the k8s cluster is using istio for ingress. I am not sure where to look and that's why the question.
Trying again.
d
I don't know how that could be done within Pinot itself, but the Swagger UI is basically an HTML page that loads up the Swagger JS distribution, does a request to the OpenAPI specification for some API and then builds the page content. So, worst case scenario, you could build your own app that serves behind TLS somehow (via the app server or some reverse proxy that handles certificates) and then build the same thing but loading from the Pinot OpenAPI specification.
p
I was hoping it was a config thing 😂 . I'll look in the code to see if it isn't. In that case I guess I'll just resort to curl instead of relying on swagger.
d
Cool 🙂
p
It was very convenient for adding schema and creating a table manually without having to add one field for the schema at a time or configure one field at a time for the table config.