Skip to content

HarryEMartland/swagger-ui-kubernetes-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swagger UI Kubernetes

This is an example deployment of swagger-ui using kubernetes.

Adding externally hosted documentation

Add a new entry in the json array in deployment.yml under the API_URLS environment variable. the name key is the display name shown in the dropdown of the ui and url is the url used to retrieve the documentation.

Adding internally hosed documentation

Create a new config map .yml file using local.example.configmap.yml as an example with the documentation in. Then create a new volume mount and volume in deployment.yml using the local-example as an example.

Deployment

Run in the root folder

kubectl apply -f ./

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published