mockserver

by Simon

Helm chartv1.1.0App 5.15.0

A Helm chart for mockserver in Kubernetes

About this chart

mockserver

mockserver helm chart for deployment of mockserver

Get Repo Info

helm repo add open https://simonmisencik.github.io/helm-charts
helm repo update

Install Chart

helm install [RELEASE_NAME] open/mockserver

Upgrading Chart

helm upgrade [RELEASE_NAME] open/mockserver

Uninstall Chart

helm uninstall [RELEASE_NAME]

Configuration

ParameterDescriptionDefault
replicaCountNumber of nodes1
image.repositoryImage repositorymockserver/mockserver
image.pullPolicyImage pull policyIfNotPresent
image.tagImage tag``
imagePullSecretsImage pull secrets[]
nameOverrideReplaces the name of the chart in the Chart.yaml file""
fullnameOverrideCompletely replaces the generated name""
service.typeKubernetes service typeClusterIP
service.portKubernetes port where service is exposed1080
service.containerPortKubernetes container port1080
ingress.enabledEnables Ingressfalse
ingress.annotationsIngress annotations (values are templated){}
ingress.hostsIngress accepted hostnames[]
extraEnvSpecification of env variables[]

Deploy mockserver with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has mockserver 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartmockserver is pinned at v1.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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