Skip to content

Commit

Permalink
chart/sslmode templating (#762)
Browse files Browse the repository at this point in the history
  • Loading branch information
acelinkio authored Jan 4, 2025
2 parents dd24b42 + 8b4a4f6 commit 727f548
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions chart/templates/transcoder/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 3 additions & 1 deletion chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 727f548

Please sign in to comment.