Skip to content

Commit

Permalink
Added ability to specify environment variables just for streaming pods (
Browse files Browse the repository at this point in the history
  • Loading branch information
timetinytim authored May 15, 2024
1 parent 336f736 commit 3da4e6d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/deployment-streaming.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 4 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3da4e6d

Please sign in to comment.