From a81f35cea4046713930c898d671a6bb89158900d Mon Sep 17 00:00:00 2001 From: Janne Mareike Koschinski <janne@kuschku.de> Date: Fri, 13 May 2022 21:29:36 +0200 Subject: [PATCH] fix: correct origin handling for languagetool --- languagetool/templates/deployment.yaml | 2 +- languagetool/values.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/languagetool/templates/deployment.yaml b/languagetool/templates/deployment.yaml index 5ea8435..e19888d 100644 --- a/languagetool/templates/deployment.yaml +++ b/languagetool/templates/deployment.yaml @@ -45,7 +45,7 @@ spec: - "8080" - "--public" - "--allow-origin" - - "{{ .Values.ingress.origins }}" + - "{{ join "," .Values.ingress.origins }}" ports: - name: http containerPort: 8080 diff --git a/languagetool/values.yaml b/languagetool/values.yaml index c7a8fd0..5dca761 100644 --- a/languagetool/values.yaml +++ b/languagetool/values.yaml @@ -43,6 +43,7 @@ service: ingress: host: "example.com" path: "/" + origins: [ ] annotations: { } podAnnotations: { } -- GitLab