File tree 4 files changed +9
-9
lines changed
4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ $ curl -X POST http://127.0.0.1:8080/v1/hello
39
39
```
40
40
41
41
To check the web app when using ` holomekc/wiremock ` , visit http://127.0.0.1:8080/__admin/webapp on your browser.
42
-
42
+
43
43
# References:
44
44
45
45
- [ WireMock Java Library] ( https://github.com/tomakehurst/wiremock )
Original file line number Diff line number Diff line change @@ -89,15 +89,15 @@ spec:
89
89
{{- end }}
90
90
{{- with .Values.nodeSelector }}
91
91
nodeSelector :
92
- {{- toYaml . | nindent 8 }}
92
+ {{ tpl ( toYaml .) $ | nindent 8 }}
93
93
{{- end }}
94
94
{{- with .Values.affinity }}
95
95
affinity :
96
- {{- toYaml . | nindent 8 }}
96
+ {{ tpl ( toYaml .) $ | nindent 8 }}
97
97
{{- end }}
98
98
{{- with .Values.tolerations }}
99
99
tolerations :
100
- {{- toYaml . | nindent 8 }}
100
+ {{ tpl ( toYaml .) $ | nindent 8 }}
101
101
{{- end }}
102
102
volumes :
103
103
- name : mappings-data
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ metadata:
20
20
{{- include "wiremock.labels" . | nindent 4 }}
21
21
{{- with .Values.ingress.annotations }}
22
22
annotations :
23
- {{- toYaml . | nindent 4 }}
23
+ {{ tpl ( toYaml .) $ | nindent 4 }}
24
24
{{- end }}
25
25
spec :
26
26
{{- if and .Values.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }}
@@ -31,14 +31,14 @@ spec:
31
31
{{- range .Values.ingress.tls }}
32
32
- hosts :
33
33
{{- range .hosts }}
34
- - {{ . | quote }}
34
+ - {{ tpl . $ | quote }}
35
35
{{- end }}
36
- secretName : {{ .secretName }}
36
+ secretName : {{ tpl .secretName $ }}
37
37
{{- end }}
38
38
{{- end }}
39
39
rules :
40
40
{{- range .Values.ingress.hosts }}
41
- - host : {{ .host | quote }}
41
+ - host : {{ tpl .host $ | quote }}
42
42
http :
43
43
paths :
44
44
{{- range .paths }}
Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ metadata:
7
7
{{- include "wiremock.labels" . | nindent 4 }}
8
8
{{- with .Values.serviceAccount.annotations }}
9
9
annotations :
10
- {{- toYaml . | nindent 4 }}
10
+ {{ tpl ( toYaml .) $ | nindent 4 }}
11
11
{{- end }}
12
12
{{- end }}
You can’t perform that action at this time.
0 commit comments