diff --git a/helm/sidata/templates/middleware.yaml b/helm/sidata/templates/middleware.yaml index b8cda95..e8d033d 100644 --- a/helm/sidata/templates/middleware.yaml +++ b/helm/sidata/templates/middleware.yaml @@ -4,6 +4,6 @@ metadata: name: fix-sidata-prefix namespace: sidata-prod spec: - replacePathRegex: - regex: "^/sidata/(.*)" - replacement: "/$1" \ No newline at end of file + stripPrefix: + prefixes: + - /sidata \ No newline at end of file