This project and the following commands have been tested using minikube.
kubectl create configmap openapi-kubectl --from-file=openapi-configmap/petstore-minimal.json
kubectl get configmap -o yaml openapi-kubectl
NOTE: using Helm requires the file to base64 encoded via the templating process
helm template openapi-configmap
helm upgrade --install openapi-configmap ./openapi-configmap
kubectl get configmap openapi -o yaml
minikube service openapi-deployment --url
You should see somthing like...
http://127.0.0.1:53357
❗ Because you are using a Docker driver on darwin, the terminal needs to be open to run it.
Interact with the GRPC API using gRPC UI...
grpcui --plaintext 127.0.0.1:53357
A new browser window should spin up for the gRPC Web UI allowing you to inetract with the service.