Hi Everyone! I'm working on a solution moving from...
# help
k
Hi Everyone! I'm working on a solution moving from WireMock v2 to WireMock v3 using helm with kustomize and having issues with mapping and response folder locations. The interesting thing is that without any additional mappings or responses even the test data (provided by the helm chart itself) is being copied to a wrong location. Instead of copied to
/home/wiremock/storage/mapping
it creates a new directory for the files
/home/wiremock/storage/mapping/mappings
. Same with
__files
Instead of
/home/wiremock/storage/__files
create a responses directory to the files under
/home/wiremock/storage/__files/responses
. And there is no possibility to move the files to the proper location because of the helm chart doesn't contain any config/values for that, all this part is hardcoded. Do you have any suggestions what could cause this? (images are from kustomize file and the redundant folder location inside the wiremock container) kustomize+helm:
Copy code
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
helmCharts:
- name: wiremock
  repo: <https://wiremock.github.io/helm-charts>
  version: 1.4.0
  releaseName: wiremock
  valuesInline:
    args:
      - --disable-banner
      - --container-threads=200
      - --async-response-enabled
      - --async-response-threads=200
      - --global-response-templating
      - --max-template-cache-entries=500
    service:
      externalPort: 80
      internalPort: 8080
    autoscaling:
      maxReplicas: 5
      targetCPUUtilizationPercentage: 40
    initContainer:
      image:
        repository: public.ecr.aws/docker/library/bash
        tag: 5.2.37
    serviceAccount:
      create: false
maybe @Oleg Nenashev have some ideas?
o
I will try to review asap