15 lines
292 B
JSON
15 lines
292 B
JSON
{
|
|
"apiVersion": "traefik.io/v1alpha1",
|
|
"kind": "Middleware",
|
|
"metadata": {
|
|
"name": "helm-charts-path-rewrite",
|
|
"namespace": "default"
|
|
},
|
|
"spec": {
|
|
"replacePathRegex": {
|
|
"regex": "^/charts/(.*)$",
|
|
"replacement": "/api/packages/feedc0de/helm/${1}"
|
|
}
|
|
}
|
|
}
|