⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
fix(helm): define KANEO_POSTGRES_PASSWORD before DATABASE_URL (#1309)
Andrejac43e74d928b
diff --git a/charts/kaneo/templates/deployment.yaml b/charts/kaneo/templates/deployment.yamlindex 9542b47e4..975492cb8 100644--- a/charts/kaneo/templates/deployment.yaml+++ b/charts/kaneo/templates/deployment.yaml@@ -57,6 +57,13 @@ spec:{{- else }}value: "{{ .Values.kaneo.env.authSecret }}"{{- end }}+ {{- if and (not .Values.kaneo.env.database.external.enabled) .Values.postgresql.auth.existingSecret }}+ - name: KANEO_POSTGRES_PASSWORD+ valueFrom:+ secretKeyRef:+ name: {{ .Values.postgresql.auth.existingSecret }}+ key: {{ .Values.postgresql.auth.secretKeys.userPasswordKey }}+ {{- end }}- name: DATABASE_URL{{- if .Values.kaneo.env.database.external.enabled }}{{- if .Values.kaneo.env.database.external.existingSecret.enabled }}@@ -74,13 +81,6 @@ spec:value: "postgresql://{{ include "kaneo.urlencodeUserinfo" .Values.postgresql.auth.username }}:{{ include "kaneo.urlencodeUserinfo" .Values.postgresql.auth.password }}@{{ include "kaneo.fullname" . }}-postgresql:{{ .Values.postgresql.service.port }}/{{ .Values.postgresql.auth.database }}"{{- end }}{{- end }}- {{- if and (not .Values.kaneo.env.database.external.enabled) .Values.postgresql.auth.existingSecret }}- - name: KANEO_POSTGRES_PASSWORD- valueFrom:- secretKeyRef:- name: {{ .Values.postgresql.auth.existingSecret }}- key: {{ .Values.postgresql.auth.secretKeys.userPasswordKey }}- {{- end }}- name: DISABLE_REGISTRATIONvalue: {{ .Values.kaneo.env.disableRegistration | quote }}- name: DISABLE_PASSWORD_REGISTRATION