| title | Swagger Petstore API |
|---|---|
| category | target |
| type | Website |
| state | released |
| appVersion | 1.0.28 |
| usecase | Modern insecure web application |
This is the sample petstore application with a restful API.
- https://github.com/secureCodeBox/secureCodeBox/tree/master/demo-targets/swagger-petstore
- https://github.com/swagger-api/swagger-petstore
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| 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 | [] |
Code of secureCodeBox is licensed under the Apache License 2.0.