Commit a28c8b88 authored by Joshua Lambert's avatar Joshua Lambert

Add additional commands for Mac OS for retrieving the password

parent b7b88f43
......@@ -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
```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment