Prerequisites
sn-platformchart: 1.10.7 or higherstreamnative/private-cloud-consoleimage: v2.3.1 or higher
Enable OpenAPI
- Create a super service account on the StreamNative Console Service Account page, and get the token from this super service account.
-
Set the Helm values
streamnative_console.configData.OPENAPI_ENABLEDtotrueand usehelm upgradeto upgrade your Helm values.
-
Use the
kubectl port-forwardorkubectl exposecommands to expose thestreamnative-consolepod, and the OpenAPI Swagger address will behttp://<Your External IP>:9527/swagger-ui/index.html -
Access to the Swagger page and click
Authorizeto input the token you got from the step1. Then you will have the permission to use the StreamNative Console OpenAPI.