diff --git a/docs/cri-o.md b/docs/cri-o.md index 2405697d30d7c3a4c7bf9f6d43a17d5bc581ae9c..adb837ee7749bc994cc1ce7c41700b0ff7b7fec8 100644 --- a/docs/cri-o.md +++ b/docs/cri-o.md @@ -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. diff --git a/inventory/sample/group_vars/all/cri-o.yml b/inventory/sample/group_vars/all/cri-o.yml index 3e6e4eebb31d3ab4169de0c9fffdc57d60096985..757dab84c93377fea98f0974edcc1a8caa817979 100644 --- a/inventory/sample/group_vars/all/cri-o.yml +++ b/inventory/sample/group_vars/all/cri-o.yml @@ -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