wiremock / helm-charts

Helm Chart for Wiremock deployment on Kubernetes
https://wiremock.github.io/helm-charts/
Apache License 2.0
19 stars 32 forks source link

Improvement for the ability to use mapping and response folders #38

Open jwattik opened 2 months ago

jwattik commented 2 months ago

Proposal

Adding a replacement "/" with "_" will allow you to create folders with files in mappings and responses to structure

wiremock/templates/configmap-mappings.yaml:15 {{ $key | trimPrefix "mappings/" | replace "/" "_" }}: {{ $files.Get $key | quote }} {{/* adapt $key as desired */}}

wiremock/templates/configmap-responses.yaml:15 {{ $key | trimPrefix "responses/" | replace "/" "_" }}: {{ $files.Get $key | quote }} {{/* adapt $key as desired */}}

References

No response