Skip to content

Commit 66794c0

Browse files
authored
docs: fix custom registry config name (#1131)
1 parent 4fbbd9c commit 66794c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/canonicalk8s/charm/howto/custom-registry.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ charm to pull images from a custom registry.
1515
## Configure the charm
1616

1717
To configure the charm to use a custom registry, you need to set the
18-
`containerd_custom_registries` configuration option. This options allows
18+
`containerd-custom-registries` configuration option. This options allows
1919
the charm to configure `containerd` to pull images from registries that require
2020
authentication. This configuration option should be a JSON-formatted array of
21-
credential objects. For more details on the `containerd_custom_registries`
21+
credential objects. For more details on the `containerd-custom-registries`
2222
option, refer to the [charm configurations] documentation.
2323

2424
For example, to configure the charm to use a custom registry at
2525
`myregistry.example.com:5000` with the username `myuser` and password
26-
`mypassword`, set the `containerd_custom_registries` configuration option as
26+
`mypassword`, set the `containerd-custom-registries` configuration option as
2727
follows:
2828

2929
```

0 commit comments

Comments
 (0)