3
0
mirror of https://github.com/mastodon/chart synced 2024-10-22 19:02:44 +00:00

Added ability to specify environment variables just for streaming pods (#135)

This commit is contained in:
Tim Campbell 2024-05-15 13:05:50 +02:00 committed by GitHub
parent 336f736a5c
commit 3da4e6d611
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -119,6 +119,10 @@ spec:
{{- end }}
- name: "PORT"
value: {{ .Values.mastodon.streaming.port | quote }}
{{- range $k, $v := .Values.mastodon.streaming.extraEnvVars }}
- name: {{ $k }}
value: {{ quote $v }}
{{- end }}
ports:
- name: streaming
containerPort: {{ .Values.mastodon.streaming.port }}

View File

@ -256,6 +256,10 @@ mastodon:
# name:
# -- Optional sslMode setting. See nodejs's SSL_MODE. Consider "no-verify"
# sslMode:
# Specify extra environment variables to be added to streaming pods.
extraEnvVars: {}
web:
port: 3000
# -- Number of Web Pods running