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.

added _URL env vars

dscham164467755697
diff --git a/charts/kaneo/templates/deployment.yaml b/charts/kaneo/templates/deployment.yaml
index 2d6553d20..0f326dba4 100644
--- a/charts/kaneo/templates/deployment.yaml
+++ b/charts/kaneo/templates/deployment.yaml
@@ -59,6 +59,18 @@ spec:
{{- else -}}
http://localhost:{{ .Values.api.service.targetPort }}
{{- end -}}"
+ - name: KANEO_API_URL
+ value: "{{- if .Values.web.env.apiUrl -}}
+ {{- .Values.web.env.apiUrl -}}
+ {{- else -}}
+ http://localhost:{{ .Values.api.service.targetPort }}
+ {{- end -}}"
+ - name: KANEO_CLIENT_URL
+ value: "{{- if .Values.web.env.apiUrl -}}
+ {{- .Values.web.env.apiUrl -}}
+ {{- else -}}
+ http://localhost:{{ .Values.web.service.targetPort }}
+ {{- end -}}"
- name: CORS_ORIGINS
value: "{{ .Values.web.env.apiUrl | default "*" }}"
- name: DATABASE_URL