fix(chart): update transcoder pg env vars

This commit is contained in:
Antoine Labarussias 2025-11-05 09:04:34 +01:00 committed by Zoe Roux
parent 6bab124331
commit 2fb393bb45
No known key found for this signature in database
2 changed files with 6 additions and 11 deletions

View File

@ -73,25 +73,23 @@ spec:
value: "/dev/dri/renderD128"
- name: GOCODER_SAFE_PATH
value: {{ .Values.media.baseMountPath | quote }}
- name: POSTGRES_USER
- name: PGUSER
valueFrom:
secretKeyRef:
key: {{ .Values.global.postgres.kyoo_transcoder.kyoo_transcoder.userKey }}
name: {{ .Values.global.postgres.kyoo_transcoder.kyoo_transcoder.existingSecret }}
- name: POSTGRES_PASSWORD
- name: PGPASSWORD
valueFrom:
secretKeyRef:
key: {{ .Values.global.postgres.kyoo_transcoder.kyoo_transcoder.passwordKey }}
name: {{ .Values.global.postgres.kyoo_transcoder.kyoo_transcoder.existingSecret }}
- name: POSTGRES_DB
- name: PGDATABASE
value: {{ .Values.global.postgres.kyoo_transcoder.database | quote }}
- name: POSTGRES_SERVER
- name: PGHOST
value: {{ .Values.global.postgres.kyoo_transcoder.host | quote }}
- name: POSTGRES_PORT
- name: PGPORT
value: {{ .Values.global.postgres.kyoo_transcoder.port | quote }}
- name: POSTGRES_SCHEMA
value: {{ .Values.global.postgres.kyoo_transcoder.schema | quote }}
- name: POSTGRES_SSLMODE
- name: PGSSLMODE
value: {{ .Values.global.postgres.kyoo_transcoder.sslmode | quote }}
{{- with (concat .Values.global.extraEnv .Values.transcoder.kyoo_transcoder.extraEnv) }}
{{- toYaml . | nindent 12 }}

View File

@ -64,9 +64,6 @@ global:
host: kyoo-postgres
port: 5432
database: kyoo_transcoder
# 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