Merge pull request #11186 from integrii/patch-1

Update kops_create_secret_dockerconfig.md
This commit is contained in:
Kubernetes Prow Robot 2021-04-15 05:55:50 -07:00 committed by GitHub
commit 2f1c8f3969
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -35,7 +35,12 @@ var (
createSecretDockerconfigLong = templates.LongDesc(i18n.T(`
Create a new docker config, and store it in the state store.
Used to configure docker on each master or node (i.e. for auth)
Use update to modify it, this command will only create a new entry.`))
Use update to modify it, this command will only create a new entry.
After creating a dockerconfig secret, a /root/.docker/config.json file
will be added to newly created nodes. This file will be used by Kubernetes
to authenticate to container registries and will also work when using
containerd as container runtime.`))
createSecretDockerconfigExample = templates.Examples(i18n.T(`
# Create a new docker config.

View File

@ -9,6 +9,8 @@ Create a docker config.
Create a new docker config, and store it in the state store. Used to configure docker on each master or node (i.e. for auth) Use update to modify it, this command will only create a new entry.
After creating a dockerconfig secret, a /root/.docker/config.json file will be added to newly created nodes. This file will be used by Kubernetes to authenticate to container registries and will also work when using containerd as container runtime.
```
kops create secret dockerconfig [flags]
```