mirror of https://github.com/kubernetes/kops.git
Merge pull request #11186 from integrii/patch-1
Update kops_create_secret_dockerconfig.md
This commit is contained in:
commit
2f1c8f3969
|
@ -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.
|
||||
|
|
|
@ -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]
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue