feat(http): fix assets_origin
This commit is contained in:
parent
7a3719522c
commit
00a73dd94b
1 changed files with 4 additions and 0 deletions
|
|
@ -55,7 +55,11 @@ spec:
|
|||
- name: POSTGRES_STRING
|
||||
value: 'postgres://{{ .Values.global.postgresql.postgresqlUser }}:{{ .Values.global.postgresql.postgresqlPassword }}@{{ .Values.global.postgresql.postgresqlHost }}:{{ .Values.global.postgresql.postgresqlPort }}/{{ .Values.global.postgresql.postgresqlDatabase }}'
|
||||
- name: ASSETS_ORIGIN
|
||||
{{- if eq .Values.global.s3.endpoint "http://minio.db.svc.cluster.local:9000" }}
|
||||
value: 'https://{{ .Values.global.domainName }}/{{.Values.global.s3.assetsBucket}}'
|
||||
{{- else }}
|
||||
value: {{ (split "://" .Values.global.s3.endpoint)._0 }}://{{.Values.global.s3.assetsBucket}}.{{ (split "://" .Values.global.s3.endpoint)._1 }}
|
||||
{{- end }}
|
||||
{{- range $key, $val := .Values.env }}
|
||||
- name: {{ $key }}
|
||||
value: '{{ $val }}'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue