Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

title Swagger Petstore API
category target
type Website
state released
appVersion 1.0.28
usecase Modern insecure web application

License Apache-2.0 GitHub release (latest SemVer) OWASP Lab Project Artifact HUB GitHub Repo stars Mastodon Follower

What is "Swagger Petstore API"?

This is the sample petstore application with a restful API.

Source Code

Deployment

The swagger-petstore chart can be deployed via helm:

# Install HelmChart (use -n to configure another namespace)
helm upgrade --install swagger-petstore oci://ghcr.io/securecodebox/helm/swagger-petstore

Values

Key Type Default Description
affinity object {}
annotations object {} add annotations to the deployment, service and pods
fullnameOverride string ""
image.pullPolicy string "IfNotPresent" Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
image.repository string "docker.io/swaggerapi/petstore3" Container Image
image.tag string defaults to the appVersion The image tag
imagePullSecrets list [] Define imagePullSecrets when a private registry is used (see: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/)
ingress.annotations object {}
ingress.enabled bool false
ingress.hosts[0].host string "chart-example.local"
ingress.hosts[0].paths list []
ingress.tls list []
labels object {} add labels to the deployment, service and pods
nameOverride string ""
nodeSelector object {}
podSecurityContext object {}
replicaCount int 1
resources object {}
securityContext object {}
service.port int 80
service.type string "ClusterIP"
swaggerHostOverride string "http://swagger-petstore.demo-targets.svc"
tolerations list []

License

License

Code of secureCodeBox is licensed under the Apache License 2.0.