Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
8c32be5f
Unverified
Commit
8c32be5f
authored
2 years ago
by
qlijin
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add insecure_registry config to crio.conf (#10142)
parent
0ba2e655
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/container-engine/cri-o/templates/crio.conf.j2
+3
-0
3 additions, 0 deletions
roles/container-engine/cri-o/templates/crio.conf.j2
roles/kubespray-defaults/defaults/main.yaml
+2
-0
2 additions, 0 deletions
roles/kubespray-defaults/defaults/main.yaml
with
5 additions
and
0 deletions
roles/container-engine/cri-o/templates/crio.conf.j2
+
3
−
0
View file @
8c32be5f
...
...
@@ -313,6 +313,9 @@ allowed_annotations = {{ runtime.allowed_annotations|default([])|to_json }}
# this file. Otherwise, leave insecure_registries and registries commented out to
# use the system's defaults from /etc/containers/registries.conf.
[crio.image]
{% if crio_insecure_registries is defined and crio_insecure_registries|length>0 %}
insecure_registries = {{ crio_insecure_registries }}
{% endif %}
# Default transport for pulling images from a remote container storage.
default_transport = "docker://"
...
...
This diff is collapsed.
Click to expand it.
roles/kubespray-defaults/defaults/main.yaml
+
2
−
0
View file @
8c32be5f
...
...
@@ -299,6 +299,8 @@ cri_socket: >-
unix:///var/run/cri-dockerd.sock
{%- endif -%}
crio_insecure_registries
:
[]
## Uncomment this if you want to force overlay/overlay2 as docker storage driver
## Please note that overlay2 is only supported on newer kernels
# docker_storage_options: -s overlay2
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment