fix(mycloud-services): add additinalParams to postgres database

This commit is contained in:
WrenIX 2024-02-13 20:35:20 +01:00
parent 8bedadd126
commit a68cf48702
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
2 changed files with 5 additions and 0 deletions

View file

@ -44,5 +44,8 @@ spec:
{{- if (eq $config.type "postgresql") }} {{- if (eq $config.type "postgresql") }}
{{ $database }}: {{ $database }}:
owner: {{ $config.username | default $database }} owner: {{ $config.username | default $database }}
{{- with $config.additionalParams }}
additionalParams: {{ . | quote }}
{{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View file

@ -30,3 +30,5 @@ databases:
username: example-password username: example-password
# -- if not set generated by .Values.commons.masterPassword and databasename # -- if not set generated by .Values.commons.masterPassword and databasename
password: password:
# -- additional params for databases
additionalParams: