chart/sslmode templating (#762)

This commit is contained in:
acelinkio 2025-01-04 12:04:18 -08:00 committed by GitHub
commit 727f548a80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 1 deletions

View File

@ -23,6 +23,8 @@ version: 0.0.0
# It is recommended to use it with quotes.
appVersion: "0.0.0"
icon: https://raw.githubusercontent.com/zoriya/Kyoo/refs/heads/master/icons/icon.svg
dependencies:
- condition: meilisearch.enabled
name: meilisearch

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