Skip to content

Commit 83433fd

Browse files
committed
Use default instea of or
1 parent 108fc55 commit 83433fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/pgcat/templates/secret.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ stringData:
6161
password = {{ $user.password | quote }}
6262
pool_size = {{ $user.pool_size }}
6363
statement_timeout = {{ $user.statement_timeout }}
64-
min_pool_size = {{ or $user.min_pool_size 3}}
64+
min_pool_size = {{ default 3 $user.min_pool_size }}
6565
{{- if $user.server_lifetime}}
6666
server_lifetime = {{ $user.server_lifetime }}
6767
{{- end }}

0 commit comments

Comments
 (0)