Skip to content

Commit 078976c

Browse files
committed
improve secrets config example
1 parent a953d46 commit 078976c

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

docs/self-hosting/kubernetes.mdx

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,23 @@ config:
105105
Create a `values-custom.yaml` file. For example:
106106

107107
```yaml
108-
# Required: Generate new secrets with `openssl rand -hex 16`
108+
# Generate new secrets with `openssl rand -hex 16`
109+
# WARNING: You should probably use existingSecret instead of hardcoding here
109110
secrets:
110111
sessionSecret: "your-32-char-hex-secret-1"
111112
magicLinkSecret: "your-32-char-hex-secret-2"
112-
encryptionKey: "your-32-char-hex-secret-3"
113-
managedWorkerSecret: "your-32-char-hex-secret-4"
113+
# ...
114+
115+
# Recommended: Use existing secret - must contain at least the following keys:
116+
# - SESSION_SECRET
117+
# - MAGIC_LINK_SECRET
118+
# - ENCRYPTION_KEY
119+
# - MANAGED_WORKER_SECRET
120+
# - OBJECT_STORE_ACCESS_KEY_ID
121+
# - OBJECT_STORE_SECRET_ACCESS_KEY
122+
secrets:
123+
enabled: false
124+
existingSecret: "your-existing-secret"
114125

115126
# Application URLs
116127
config:

0 commit comments

Comments
 (0)