Commit 7c694b50 authored by Suzanne Selhorn's avatar Suzanne Selhorn

Merge branch 'docs/kubernets-docker-auth' into 'master'

Update documentation about Kubernetes executor authentication

See merge request gitlab-org/gitlab!35427
parents 6c0e1c49 fe614607
...@@ -545,9 +545,8 @@ runtime. ...@@ -545,9 +545,8 @@ runtime.
support for using private registries, which required manual configuration support for using private registries, which required manual configuration
of credentials on runner's host. We recommend to upgrade your Runner to of credentials on runner's host. We recommend to upgrade your Runner to
at least version **1.8** if you want to use private registries. at least version **1.8** if you want to use private registries.
- Not available for [Kubernetes executor](https://docs.gitlab.com/runner/executors/kubernetes.html), - Available for [Kubernetes executor](https://docs.gitlab.com/runner/executors/kubernetes.html)
follow <https://gitlab.com/gitlab-org/gitlab-runner/-/issues/2673> for in GitLab Runner 13.1 and later.
details.
### Using statically-defined credentials ### Using statically-defined credentials
...@@ -601,6 +600,7 @@ There are two ways to determine the value of `DOCKER_AUTH_CONFIG`: ...@@ -601,6 +600,7 @@ There are two ways to determine the value of `DOCKER_AUTH_CONFIG`:
Open a terminal and execute the following command: Open a terminal and execute the following command:
```shell ```shell
# Note the use of "-n" - it prevents encoding a newline in the password.
echo -n "my_username:my_password" | base64 echo -n "my_username:my_password" | base64
# Example output to copy # Example output to copy
......
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