Skip to content

katanox/wiremock-helm-chart

 
 

Repository files navigation

CI

WireMock Helm Charts

Helm Chart for WireMock deployment to Kubernetes. It allows deploying the official WireMock Docker images and also other charts that extend it, in particular holomekc/wiremock with embedded UI.

Quick Start

Pre-requisites

  1. Install Minikube or use another Kubernetes cluster
  2. Install Helm

Install WireMock

helm upgrade --install <release_name> ./chart/<chart_name>

Setup port forwarding

$ export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "wiremock.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")

$ kubectl port-forward $POD_NAME 8080:{{ .Values.service.internalPort}}

Verify Wiremock deployment

To verify erifying a response using Wiremock, run

$ curl -X POST http://127.0.0.1:8080/v1/hello

To check the web app when using holomekc/wiremock, visit http://127.0.0.1:8080/__admin/webapp on your browser.

References:

About

Helm Chart for Wiremock deployment on Kubernetes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Mustache 90.6%
  • Shell 9.4%