File tree 4 files changed +30
-2
lines changed
4 files changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
15
15
# This is the chart version. This version number should be incremented each time you make changes
16
16
# to the chart and its templates, including the app version.
17
17
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 1.1 .0
18
+ version : 1.2 .0
19
19
20
20
# This is the version number of the application being deployed. This version number should be
21
21
# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change 10
10
{{- if hasPrefix "mappings/" $key }} {{/* only when in mappings/ */}}
11
11
{{ $key | trimPrefix "mappings/" }}: {{ $files.Get $key | quote }} {{/* adapt $key as desired */}}
12
12
{{- end }}
13
- {{- end }}
13
+ {{- end }}
14
+ {{- with .Values.mappings }}
15
+ {{- toYaml . | nindent 2 }}
16
+ {{- end }}
Original file line number Diff line number Diff line change 10
10
{{- if hasPrefix "responses/" $key }} {{/* only when in responses/ */}}
11
11
{{ $key | trimPrefix "responses/" }}: {{ $files.Get $key | quote }} {{/* adapt $key as desired */}}
12
12
{{- end }}
13
+ {{- end }}
14
+ {{- with .Values.responses }}
15
+ {{- toYaml . | nindent 2 }}
13
16
{{- end }}
Original file line number Diff line number Diff line change 2
2
# This is a YAML-formatted file.
3
3
# Declare variables to be passed into your templates.
4
4
5
+ mappings : {}
6
+ # custom_mapping.json: |
7
+ # {
8
+ # "request": {
9
+ # "method": "POST",
10
+ # "url": "/v1/custom-mapping"
11
+ # },
12
+ # "response":{
13
+ # "status":200,
14
+ # "bodyFileName":"responses/custom_response.json",
15
+ # "headers":{
16
+ # "Content-Type":"application/json"
17
+ # }
18
+ # }
19
+ # }
20
+
21
+ responses : {}
22
+ # custom_response.json: |
23
+ # {
24
+ # "message": "Here is my custom response!"
25
+ # }
26
+
5
27
replicaCount : 1
6
28
7
29
image :
You can’t perform that action at this time.
0 commit comments