Skip to content

Commit

Permalink
Update docs for crio (kubernetes-sigs#10785)
Browse files Browse the repository at this point in the history
  • Loading branch information
qlijin authored and pedromcpedro committed May 8, 2024
1 parent d0746fe commit 1180b39
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/cri-o.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,22 @@ crio_registries:
[CRI-O]: https://cri-o.io/
The following is a method to enable insecure registries.
```yaml
crio_insecure_registries:
- 10.0.0.2:5000
```
And you can config authentication for these registries after `crio_insecure_registries`.

```yaml
crio_registry_auth:
- registry: 10.0.0.2:5000
username: user
password: pass
```

## Note about user namespaces

CRI-O has support for user namespaces. This feature is optional and can be enabled by setting the following two variables.
Expand Down
3 changes: 3 additions & 0 deletions inventory/sample/group_vars/all/cri-o.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Registries defined within cri-o.
# crio_insecure_registries:
# - 10.0.0.2:5000

# Auth config for the registries
# crio_registry_auth:
# - registry: 10.0.0.2:5000
# username: user
Expand Down

0 comments on commit 1180b39

Please sign in to comment.