Skip to content

Commit 2a2b44b

Browse files
committed
extraEnv -> extraEnvVars
1 parent 89f3956 commit 2a2b44b

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

docs/self-hosting/kubernetes.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ You can set extra environment variables on all services. For example:
181181

182182
```yaml
183183
webapp:
184-
extraEnv:
184+
extraEnvVars:
185185
- name: EXTRA_ENV_VAR
186186
value: "extra-value"
187187
```
@@ -305,7 +305,7 @@ Authentication options are identical to the [Docker-based installation](/self-ho
305305
**GitHub OAuth:**
306306
```yaml
307307
webapp:
308-
extraEnv:
308+
extraEnvVars:
309309
- name: AUTH_GITHUB_CLIENT_ID
310310
value: "your-github-client-id"
311311
- name: AUTH_GITHUB_CLIENT_SECRET
@@ -315,7 +315,7 @@ webapp:
315315
**Email authentication (Resend):**
316316
```yaml
317317
webapp:
318-
extraEnv:
318+
extraEnvVars:
319319
- name: EMAIL_TRANSPORT
320320
value: "resend"
321321
- name: FROM_EMAIL
@@ -329,7 +329,7 @@ webapp:
329329
**Restricting access:**
330330
```yaml
331331
webapp:
332-
extraEnv:
332+
extraEnvVars:
333333
- name: WHITELISTED_EMAILS
334334
value: "user1@company\\.com|user2@company\\.com"
335335
```

hosting/k8s/helm/templates/electric.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ spec:
4343
value: {{ .Values.electric.config.insecure | quote }}
4444
- name: ELECTRIC_USAGE_REPORTING
4545
value: {{ .Values.electric.config.usageReporting | quote }}
46-
{{- with .Values.electric.extraEnv }}
46+
{{- with .Values.electric.extraEnvVars }}
4747
{{- toYaml . | nindent 12 }}
4848
{{- end }}
4949
livenessProbe:

hosting/k8s/helm/templates/registry.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ spec:
3737
- name: http
3838
containerPort: {{ .Values.registry.service.targetPort }}
3939
protocol: TCP
40-
{{- if or .Values.registry.auth.enabled .Values.registry.extraEnv }}
40+
{{- if or .Values.registry.auth.enabled .Values.registry.extraEnvVars }}
4141
env:
4242
{{- if .Values.registry.auth.enabled }}
4343
- name: REGISTRY_AUTH
@@ -47,7 +47,7 @@ spec:
4747
- name: REGISTRY_AUTH_HTPASSWD_PATH
4848
value: "/auth/htpasswd"
4949
{{- end }}
50-
{{- with .Values.registry.extraEnv }}
50+
{{- with .Values.registry.extraEnvVars }}
5151
{{- toYaml . | nindent 12 }}
5252
{{- end }}
5353
{{- end }}

hosting/k8s/helm/templates/supervisor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ spec:
215215
# OTEL
216216
- name: OTEL_EXPORTER_OTLP_ENDPOINT
217217
value: "http://{{ include "trigger-v4.fullname" . }}-webapp:{{ .Values.webapp.service.port }}/otel"
218-
{{- with .Values.supervisor.extraEnv }}
218+
{{- with .Values.supervisor.extraEnvVars }}
219219
{{- toYaml . | nindent 12 }}
220220
{{- end }}
221221
volumeMounts:

hosting/k8s/helm/templates/webapp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ spec:
212212
- name: TRIGGER_TELEMETRY_DISABLED
213213
value: "1"
214214
{{- end }}
215-
{{- with .Values.webapp.extraEnv }}
215+
{{- with .Values.webapp.extraEnvVars }}
216216
{{- toYaml . | nindent 12 }}
217217
{{- end }}
218218
volumeMounts:

hosting/k8s/helm/values.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ config:
2121
secrets:
2222
# Enable/disable creation of secrets
2323
# Set to false to use external secret management (Vault, Infisical, External Secrets, etc.)
24-
# When disabled, use extraEnv and podAnnotations for secret injection
24+
# When disabled, use extraEnvVars and podAnnotations for secret injection
2525
enabled: true
2626

2727
# Name of existing secret to use instead of creating one
@@ -106,7 +106,7 @@ webapp:
106106
# memory: 1Gi
107107

108108
# Extra environment variables for webapp
109-
extraEnv:
109+
extraEnvVars:
110110
[]
111111
# - name: CUSTOM_VAR
112112
# value: "custom-value"
@@ -216,7 +216,7 @@ supervisor:
216216
create: true
217217
name: ""
218218
# Extra environment variables for Supervisor
219-
extraEnv:
219+
extraEnvVars:
220220
[]
221221
# - name: CUSTOM_VAR
222222
# value: "custom-value"
@@ -335,7 +335,7 @@ electric:
335335
url: "" # For example: "http://electric:3000"
336336

337337
# Extra environment variables for Electric
338-
extraEnv:
338+
extraEnvVars:
339339
[]
340340
# - name: CUSTOM_VAR
341341
# value: "custom-value"
@@ -458,7 +458,7 @@ registry:
458458
password: ""
459459

460460
# Extra environment variables for Registry
461-
extraEnv:
461+
extraEnvVars:
462462
[]
463463
# - name: CUSTOM_VAR
464464
# value: "custom-value"

0 commit comments

Comments
 (0)