smocker
by andrcuns
Helm chartv0.0.4App 0.18.5Verified publisher
Helm chart for smocker mock service deployment
About this chart
smocker
smocker is a is a simple and efficient HTTP mock server.
Introduction
This chart deploys smocker mock service on a Kubernetes cluster using the Helm package manager.
Add Helm repo
helm repo add andrcuns https://andrcuns.github.io/charts
Installing the Chart
Install this chart using:
helm install buildkit andrcuns/smocker --values values.yaml
The command deploys buildkit-service on the Kubernetes cluster in the default configuration. The values section lists the parameters that can be configured during installation.
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Affinity |
| image.pullPolicy | string | "IfNotPresent" | Pull policy |
| image.repository | string | "andrcuns/smocker" | Image name |
| image.tag | string | "" | Image tag |
| logLevel | string | "info" | Smocker log level |
| mocks | list | [] | Mocks definitions, see: https://smocker.dev/technical-documentation/mock-definition.html |
| nodeSelector | object | {} | Node selector |
| podAnnotations | object | {} | Pod annotations |
| resources | object | {} | Resource definitions |
| service.adminPort | int | 8081 | Service admin port |
| service.annotations | object | {} | Service annotations |
| service.type | string | "ClusterIP" | Service type |
| service.webPort | int | 8080 | Service web port |
| tolerations | list | [] | Tolerations |
Deploy smocker with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has smocker on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartsmocker is pinned at v0.0.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply