Merge pull request #1347 from Random-Liu/fix-typo

Fix typo.
This commit is contained in:
Lantao Liu 2019-11-26 16:36:23 -08:00 committed by GitHub
commit 40e147cb73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ After modify this config, you need restart the `containerd` service.
To configure the TLS settings for a specific registry, create/modify the `/etc/containerd/config.toml` as follows: To configure the TLS settings for a specific registry, create/modify the `/etc/containerd/config.toml` as follows:
```toml ```toml
# The registry host has to be an domain name or IP. Port number is also # The registry host has to be a domain name or IP. Port number is also
# needed if the default HTTPS or HTTP port is not used. # needed if the default HTTPS or HTTP port is not used.
[plugins.cri.registry.configs."my.custom.registry".tls] [plugins.cri.registry.configs."my.custom.registry".tls]
ca_file = "ca.pem" ca_file = "ca.pem"
@ -69,7 +69,7 @@ To skip the registry certificate verification:
To configure a credential for a specific registry, create/modify the To configure a credential for a specific registry, create/modify the
`/etc/containerd/config.toml` as follows: `/etc/containerd/config.toml` as follows:
```toml ```toml
# The registry host has to be an domain name or IP. Port number is also # The registry host has to be a domain name or IP. Port number is also
# needed if the default HTTPS or HTTP port is not used. # needed if the default HTTPS or HTTP port is not used.
[plugins.cri.registry.configs."gcr.io".auth] [plugins.cri.registry.configs."gcr.io".auth]
username = "" username = ""