about summary refs log tree commit diff
path: root/chart/templates
diff options
context:
space:
mode:
authorKangwook Lee (이강욱) <pbzweihander@gmail.com>2022-10-28 23:29:00 +0900
committerGitHub <noreply@github.com>2022-10-28 16:29:00 +0200
commit223e152312c9661532d846b7580d95819a0af5a4 (patch)
treeb615f1de02e9c84e76b990eba915621f6fc2b282 /chart/templates
parent9bf6a8af82391fa8b32112deb4a36a0cfc68143e (diff)
Add option to enable single user mode (#19503)
Diffstat (limited to 'chart/templates')
-rw-r--r--chart/templates/configmap-env.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/chart/templates/configmap-env.yaml b/chart/templates/configmap-env.yaml
index f988477d9..12da91cf9 100644
--- a/chart/templates/configmap-env.yaml
+++ b/chart/templates/configmap-env.yaml
@@ -24,6 +24,9 @@ data:
   {{- if .Values.mastodon.web_domain }}
   WEB_DOMAIN: {{ .Values.mastodon.web_domain }}
   {{- end }}
+  {{- if .Values.mastodon.singleUserMode }}
+  SINGLE_USER_MODE: "true"
+  {{- end }}
   # https://devcenter.heroku.com/articles/tuning-glibc-memory-behavior
   MALLOC_ARENA_MAX: "2"
   NODE_ENV: "production"