diff options
author | Joshua Lambert <joshua@gitlab.com> | 2018-06-21 16:07:15 -0400 |
---|---|---|
committer | Joshua Lambert <joshua@gitlab.com> | 2018-06-21 16:07:15 -0400 |
commit | a28c8b88cd8072dcade16979b83713057cc1dd23 (patch) | |
tree | d9a232162dbcded48f92bdb6cf46bbf7b4f70b99 | |
parent | b7b88f439ad89e633eb9f9ac30724bbc1a28bae7 (diff) | |
download | gitlab-ce-a28c8b88cd8072dcade16979b83713057cc1dd23.tar.gz |
Add additional commands for Mac OS for retrieving the password
-rw-r--r-- | doc/install/kubernetes/gitlab_chart.md | 17 |
1 files changed, 14 insertions, 3 deletions
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 `<name>` 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 <name>-gitlab-initial-root-password -ojsonpath={.data.password} | base64 -D +``` + +Linux: + ``` kubectl get secret <name>-gitlab-initial-root-password -ojsonpath={.data.password} | base64 -d ``` |