Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

remove unnecessary api suffix

dscham9b2a7101d4a6
diff --git a/charts/kaneo/templates/deployment.yaml b/charts/kaneo/templates/deployment.yaml
index e42b8b2a6..2d6553d20 100644
--- a/charts/kaneo/templates/deployment.yaml
+++ b/charts/kaneo/templates/deployment.yaml
@@ -95,11 +95,7 @@ spec:
env:
- name: KANEO_API_URL
value: "{{- if .Values.web.env.apiUrl -}}
- {{- if hasSuffix "/" .Values.web.env.apiUrl -}}
- {{- .Values.web.env.apiUrl -}}api
- {{- else -}}
- {{- .Values.web.env.apiUrl -}}/api
- {{- end -}}
+ {{- .Values.web.env.apiUrl -}}
{{- else -}}
http://localhost:{{ .Values.api.service.targetPort }}
{{- end -}}"