From 3e826076cabfbdc817ddbfda9a6f90fe1a08ebf9 Mon Sep 17 00:00:00 2001 From: danielswiatek Date: Fri, 12 Apr 2024 22:46:49 +0200 Subject: [PATCH] Add new API endpoint for file upload --- chart/brahmsee-digital/templates/ingress.yaml | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/chart/brahmsee-digital/templates/ingress.yaml b/chart/brahmsee-digital/templates/ingress.yaml index 4c312da9..e124f8b6 100644 --- a/chart/brahmsee-digital/templates/ingress.yaml +++ b/chart/brahmsee-digital/templates/ingress.yaml @@ -42,4 +42,11 @@ spec: port: 80 middlewares: - name: stripapiprefix + - match: Host(`{{ . }}`) && PathPrefix(`/api/upload`) + kind: Rule + services: + - name: {{ $.Chart.Name }}-app-svc + port: 80 + middlewares: + - name: stripapiprefix {{- end }} diff --git a/package.json b/package.json index 79ec1413..0059dc61 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "codeanker-project", "author": "CODEANKER GmbH", - "version": "1.7.0", + "version": "1.7.1", "description": "", "workspaces": [ "api",