From a28c8b88cd8072dcade16979b83713057cc1dd23 Mon Sep 17 00:00:00 2001 From: Joshua Lambert Date: Thu, 21 Jun 2018 16:07:15 -0400 Subject: Add additional commands for Mac OS for retrieving the password --- doc/install/kubernetes/gitlab_chart.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/install/kubernetes/gitlab_chart.md b/doc/install/kubernetes/gitlab_chart.md index b7e5f802c98..7274e94c2c3 100644 --- a/doc/install/kubernetes/gitlab_chart.md +++ b/doc/install/kubernetes/gitlab_chart.md @@ -81,13 +81,24 @@ the deployment is taking place if you run the command in another terminal. ### Initial login -You can access the GitLab instance by visiting the domain specified during -installation. If you manually created the secret for initial root password, you -can use that to sign in as `root` user. If not, Gitlab would've automatically +You can access the GitLab instance by visiting `gitlab.` and then the domain specified during installation. From the example above, the URL would be `https://gitlab.example.local`. + +If you manually created the secret for initial root password, you +can use that to sign in as `root` user. If not, Gitlab automatically created a random password for `root` user. This can be extracted by the following command (replace `` by name of the release - which is `gitlab` if you used the command above) +> **Note**: On some versions of Kubernetes a `%` will appear at the end of the password, do not include it. + +Mac OS: + +``` +kubectl get secret -gitlab-initial-root-password -ojsonpath={.data.password} | base64 -D +``` + +Linux: + ``` kubectl get secret -gitlab-initial-root-password -ojsonpath={.data.password} | base64 -d ``` -- cgit v1.2.1