templating related to #750 ssl

This commit is contained in:
Arlan Lloyd 2025-01-04 19:56:10 +00:00
parent dd24b4258e
commit 874c825706
2 changed files with 5 additions and 1 deletions

View File

@ -81,6 +81,8 @@ spec:
value: {{ .Values.global.postgres.kyoo_transcoder.port | quote }}
- name: POSTGRES_SCHEMA
value: {{ .Values.global.postgres.kyoo_transcoder.schema | quote }}
- name: POSTGRES_SSLMODE
value: {{ .Values.global.postgres.kyoo_transcoder.sslmode | quote }}
{{- with (concat .Values.global.extraEnv .Values.transcoder.kyoo_transcoder.extraEnv) }}
{{- toYaml . | nindent 12 }}
{{- end }}

View File

@ -59,9 +59,11 @@ global:
host: kyoo-postgresql
port: 5432
database: kyoo_transcoder
# POSTGRES_SCHEMA disabled means application will not create the schema
# schema disabled means application will not create the schema
# and will instead use the user's search path
schema: disabled
# sslmode valid options are 'require' or 'disable', 'prefer' is not supported
sslmode: disable
# kyoo_transcoder workload specific settings
kyoo_transcoder:
userKey: postgres_user