Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wiremock/helm-charts
Helm Chart for Wiremock deployment on Kubernetes
https://github.com/wiremock/helm-charts
api hacktoberfest helm-charts kubernetes-deployment wiremock wiremock-standalone
Last synced: 6 days ago
JSON representation
Helm Chart for Wiremock deployment on Kubernetes
- Host: GitHub
- URL: https://github.com/wiremock/helm-charts
- Owner: wiremock
- License: apache-2.0
- Created: 2020-04-23T01:45:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-16T11:30:55.000Z (about 2 months ago)
- Last Synced: 2024-09-16T13:12:16.248Z (about 2 months ago)
- Topics: api, hacktoberfest, helm-charts, kubernetes-deployment, wiremock, wiremock-standalone
- Language: Smarty
- Homepage: https://wiremock.github.io/helm-charts/
- Size: 130 KB
- Stars: 19
- Watchers: 7
- Forks: 33
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
![CI](https://github.com/wiremock/helm-charts/actions/workflows/ci.yaml/badge.svg)
# WireMock Helm Charts
Helm Chart for WireMock deployment to Kubernetes.
It allows deploying the official [WireMock Docker images](https://github.com/wiremock/wiremock-docker) for both WireMock 2 and WireMock 3,
and also other charts that extend it.Historically, [holomekc/wiremock](https://github.com/holomekc/wiremock) was suggested as a default image,
and the chart remains partially compatible with it.# Quick Start
## Pre-requisites
1. [Install Minikube](https://kubernetes.io/docs/tasks/tools/install-minikube/) or use another Kubernetes cluster
2. [Install Helm](https://helm.sh/docs/intro/install/)## Install WireMock
Once Helm is installed, you can either add this repository with `helm repo add`:
```bash
helm repo add wiremock https://wiremock.github.io/helm-charts
```You can then run `helm upgrade --install wiremock/wiremock` to install it through the repository.
Alternatively, you can clone the helm repo and then install it with a local reference:
```bash
helm upgrade --install ./charts/
```Setup port forwarding
```bash
$ 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 a response using WireMock, run
```bash
$ 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- [WireMock Java Library](https://github.com/tomakehurst/wiremock)
- [Official WireMock Docker Image](https://github.com/wiremock/wiremock-docker)
- [WireMock extended with Web UI](https://github.com/holomekc/wiremock), a project by [(@holomekc]https://github.com/holomekc)