Skip to content

Commit 7a186f1

Browse files
authored
Merge branch 'master' into master
2 parents a5a8970 + 3b72a1f commit 7a186f1

File tree

7 files changed

+25
-16
lines changed

7 files changed

+25
-16
lines changed

Diff for: README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
# WireMock Helm Charts
44

55
Helm Chart for WireMock deployment to Kubernetes.
6-
It allows deploying the official [WireMock Docker images](https://github.com/wiremock/wiremock-docker)
7-
and also other charts that extend it,
8-
in particular [holomekc/wiremock](https://github.com/holomekc/wiremock) with embedded UI.
6+
It allows deploying the official [WireMock Docker images](https://github.com/wiremock/wiremock-docker) for both WireMock 2 and WireMock 3,
7+
and also other charts that extend it.
8+
9+
Historically, [holomekc/wiremock](https://github.com/holomekc/wiremock) was suggested as a default image,
10+
and the chart remains partially compatible with it.
911

1012
# Quick Start
1113

@@ -28,19 +30,18 @@ $ export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "ap
2830
$ kubectl port-forward $POD_NAME 8080:{{ .Values.service.internalPort}}
2931
```
3032

31-
## Verify Wiremock deployment
33+
## Verify WireMock deployment
3234

33-
To verify a response using Wiremock, run
35+
To verify a response using WireMock, run
3436

3537
```bash
3638
$ curl -X POST http://127.0.0.1:8080/v1/hello
3739
```
3840

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

41-
# References:
43+
## References
4244

4345
- [WireMock Java Library](https://github.com/tomakehurst/wiremock)
4446
- [Official WireMock Docker Image](https://github.com/wiremock/wiremock-docker)
4547
- [WireMock extended with Web UI](https://github.com/holomekc/wiremock), a project by [(@holomekc]https://github.com/holomekc)
46-

Diff for: charts/wiremock/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
2-
appVersion: "2.32.0.2"
2+
appVersion: "3.0.0.1"
33
description: A Helm chart for WireMock deployment on Kubernetes
44
name: wiremock
5-
version: 0.1.4
5+
version: 0.2.0
66
maintainers:
77
- name: "gitkent"
88
url: "https://github.com/gitkent"

Diff for: charts/wiremock/templates/NOTES.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
{{- else if contains "ClusterIP" .Values.service.type }}
1616
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}")
1717
kubectl port-forward $POD_NAME 8080:{{ .Values.service.internalPort}}
18-
echo "Visit http://127.0.0.1:8080/__admin/webapp to use your application"
18+
echo "Visit http://127.0.0.1:8080/__admin/mappings to use your application"
1919
run "curl -X POST http://127.0.0.1:8080/v1/hello"
2020
{{- end }}

Diff for: charts/wiremock/templates/deployment.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ spec:
3838
protocol: TCP
3939
livenessProbe:
4040
httpGet:
41-
path: /__admin/webapp
41+
path: /__admin/mappings
4242
port: {{ .Values.service.internalPort }}
4343
scheme: {{ .Values.scheme }}
4444
readinessProbe:
4545
httpGet:
46-
path: /__admin/webapp
46+
path: /__admin/mappings
4747
port: {{ .Values.service.internalPort }}
4848
scheme: {{ .Values.scheme }}
4949
resources:

Diff for: charts/wiremock/values.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Default values for wiremock.
1+
# Default values for WireMock.
22
# This is a YAML-formatted file.
33
# Declare variables to be passed into your templates.
44

55
replicaCount: 1
66

77
image:
8-
repository: holomekc/wiremock-gui
9-
tag: 2.32.0.2
8+
repository: wiremock/wiremock
9+
tag: 3.2.0-3
1010
pullPolicy: IfNotPresent
1111

1212
initContainer:
@@ -37,7 +37,7 @@ ingress:
3737
# hosts:
3838
# - chart-example.local
3939
env:
40-
WIREMOCK_OPTIONS: "--port=9021,--max-request-journal=1000,--local-response-templating,--root-dir=/home/wiremock/storage"
40+
WIREMOCK_OPTIONS: "--port=9021 --max-request-journal=1000 --local-response-templating --root-dir=/home/wiremock/storage"
4141

4242
resources: {}
4343
# We usually recommend not to specify default resources and to leave this as a conscious

Diff for: index.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
apiVersion: v1
22
entries:
33
wiremock:
4+
- apiVersion: v1
5+
appVersion: 3.0.0.1
6+
created: "2023-08-30T15:32:11.9806537+02:00"
7+
description: A Helm chart for WireMock deployment on Kubernetes
8+
digest: 23e14af94bbef9fce4a4456f93001ece953cc841a5d2b10dad3075a7a9ba1066
9+
urls:
10+
- https://wiremock.github.io/helm-charts/wiremock-0.2.0.tgz
11+
version: 0.2.0
412
- apiVersion: v1
513
appVersion: 2.32.0.2
614
created: "2022-02-14T16:40:41.782464+11:00"

Diff for: wiremock-0.2.0.tgz

4.11 KB
Binary file not shown.

0 commit comments

Comments
 (0)