You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: argocd-helm-charts/goalerts/readme.md
+7-27Lines changed: 7 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,51 +4,29 @@ GoAlert - open source on-call scheduling, automated escalations, and notificatio
4
4
5
5
## 1. How to setup
6
6
7
-
GoAlert reads two values from an existing Secret (default name `goalert`, set via
8
-
`goalert.existingSecret.name`):
7
+
Goalert reads data encryption key from the secret
8
+
you provide.
9
9
10
10
| Key | What it is |
11
11
|---|---|
12
-
|`GOALERT_DB_URL`| Postgres connection string |
13
12
|`GOALERT_DATA_ENCRYPTION_KEY`| Encrypts data at rest. **Back this up** - losing it makes encrypted data unrecoverable, and it must never change once set. |
14
13
15
-
### Create it
14
+
### Create it (sealed-secrets)
16
15
17
16
```bash
18
17
NS=goalert # your target namespace
19
-
20
-
# 1. A strong data-encryption key (store a copy somewhere safe):
21
18
ENC_KEY="$(openssl rand -base64 32)"
22
19
23
-
# 2. The DB URL. If you're using the CNPG cluster this chart provisions, read it
24
-
DB_URL="$(kubectl -n "$NS" get secret goalert-pgsql-app \
Note: the CNPG cluster (and its `goalert-pgsql-app` secret) must exist first, so sync/deploy the chart once to provision the DB, then create this Secret.
0 commit comments