From a54938ed01175980ee6434d45c7f3a5456b2a47c Mon Sep 17 00:00:00 2001 From: ruslandoga <67764432+ruslandoga@users.noreply.github.com> Date: Tue, 20 Dec 2022 00:22:00 +0800 Subject: [PATCH] remove references to admin env vars --- kubernetes/README.md | 7 +++++-- kubernetes/plausible.yaml | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/kubernetes/README.md b/kubernetes/README.md index a1844f9..52b17df 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -28,9 +28,12 @@ kubectl -n plausible create secret generic plausible-events-db-user --from-liter kubectl -n plausible apply -f ./kubernetes ``` -You can now navigate to http://{hostname}:8000 and see the login screen. +You can now navigate to http://{hostname}:8000 and see the registration screen for the admin user. + +## 4. (Optional) Email verification + +If you've enabled email verification with `ENABLE_EMAIL_VERIFICATION=true`, you will be prompted to enter a verification code which has been sent to your email. Please configure your server for SMTP to receive this email. [Here are Plausible's SMTP configuration options](https://plausible.io/docs/self-hosting-configuration#mailersmtp-setup). -When you first log in with your admin credentials, you will be prompted to enter a verification code which has been sent to your email. Please configure your server for SMTP to receive this email. [Here are Plausible's SMTP configuration options](https://plausible.io/docs/self-hosting-configuration#mailersmtp-setup). Otherwise, run this command to verify all users in the database: ```bash diff --git a/kubernetes/plausible.yaml b/kubernetes/plausible.yaml index 994006f..a364881 100644 --- a/kubernetes/plausible.yaml +++ b/kubernetes/plausible.yaml @@ -49,7 +49,7 @@ spec: - "/bin/sh" - "-c" args: - - sleep 30 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh db init-admin + - sleep 30 && /entrypoint.sh db createdb && /entrypoint.sh db migrate envFrom: - secretRef: name: plausible-config