File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
charts/hedera-json-rpc-relay-websocket/templates Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ metadata:
77 {{ include "json-rpc-relay-ws.labels" . | nindent 4 }}
88data :
99 {{- range $key, $value := .Values.config }}
10- {{ $key }}: {{ if typeIs "float64" $value }}{{ $value | int64 | quote }}{{ else }}{{ $value | quote }}{{ end }}
10+ {{- if eq $key "HEDERA_NETWORK" }}
11+ {{ $key }}: {{ if typeIs "string" $value}} {{ $value | lower | quote }} {{else}} {{ printf "{%s}" (tpl (join "," $value | trimPrefix "[" | trimSuffix "]") $) | squote }} {{end}}
12+ {{- else }}
13+ {{ $key }}: {{ if typeIs "float64" $value }}{{ $value | int64 | quote }}{{ else }}{{ $value | quote }}{{ end }}
14+ {{- end }}
1115 {{- end }}
1216 {{- include "json-rpc-relay-ws.redis-config" . | nindent 2 }}
You can’t perform that action at this time.
0 commit comments