File tree 2 files changed +2
-2
lines changed
deploy/helm/templates/api-service
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
{{- $name := include "lowcoder.fullname" . -}}
3
3
{{- $lowcoderDatabase := first .Values.mongodb.auth.databases -}}
4
4
{{- $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) -}}
6
6
7
7
apiVersion : v1
8
8
kind : ConfigMap
Original file line number Diff line number Diff line change 3
3
{{- $mongoPassword := (and .Values.mongodb.auth.passwords (first .Values.mongodb.auth.passwords)) | default "" -}}
4
4
{{- $lowcoderDatabase := first .Values.mongodb.auth.databases -}}
5
5
{{- $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) -}}
7
7
{{- $mongoServicename := .Values.mongodb.service.nameOverride | default "" -}}
8
8
{{- $externalUrl := .Values.mongodb.service.externalUrl -}}
9
9
You can’t perform that action at this time.
0 commit comments