From d1c058d90a2cebce1de61498bcb7ace10b885a1c Mon Sep 17 00:00:00 2001 From: biswajit-9776 <115724497+biswajit-9776@users.noreply.github.com> Date: Mon, 29 Jul 2024 20:12:58 +0530 Subject: [PATCH] Document how to change the default username for dex (#2810) Signed-off-by: biswajit-9776 Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index a94653e123..e88f320ed7 100644 --- a/README.md +++ b/README.md @@ -463,6 +463,19 @@ If you absolutely need to expose Kubeflow over HTTP, you can disable the `Secure --- +### Change default user name + +For security reasons, we don't want to use the default username and email for the default Kubeflow user when installing in security-sensitive environments. Instead, you should define your own username and email before deploying. To define it for the default user: + +1. Edit `common/dex/overlays/oauth2-proxy/config-map.yaml` and fill the relevant field with your email and preferred username: + + ```yaml + ... + staticPasswords: + - email: + username: + ``` + ### Change default user password For security reasons, we don't want to use the default password for the default Kubeflow user when installing in security-sensitive environments. Instead, you should define your own password and apply it either **before creating the cluster** or **after creating the cluster**.