File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
deploy/helm/templates/api-service Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 22{{- $name := include "lowcoder.fullname" . -}}
33{{- $lowcoderDatabase := first .Values.mongodb.auth.databases -}}
44{{- $redisSecret := lookup "v1" "Secret" $nameSpace .Values.redis.auth.existingSecret | default dict -}}
5- {{- $redisPassword := (index $redisSecret.data .Values.redis.auth.existingSecretPasswordKey | default "" | b64dec) -}}
5+ {{- $redisPassword := (index ( $redisSecret.data|default dict) .Values.redis.auth.existingSecretPasswordKey | default "" | b64dec) -}}
66
77apiVersion : v1
88kind : ConfigMap
Original file line number Diff line number Diff line change 33{{- $mongoPassword := (and .Values.mongodb.auth.passwords (first .Values.mongodb.auth.passwords)) | default "" -}}
44{{- $lowcoderDatabase := first .Values.mongodb.auth.databases -}}
55{{- $mongoSecret := lookup "v1" "Secret" $nameSpace .Values.mongodb.auth.existingSecret | default dict -}}
6- {{- $mongoSecretPassword := (index $mongoSecret.data "password" | default "" | b64dec) -}}
6+ {{- $mongoSecretPassword := (index ( $mongoSecret.data | default dict) "password" | default "" | b64dec) -}}
77{{- $mongoServicename := .Values.mongodb.service.nameOverride | default "" -}}
88{{- $externalUrl := .Values.mongodb.service.externalUrl -}}
99
You can’t perform that action at this time.
0 commit comments