mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
feat: add support crio additional mounts (#12561)
removed default since it's already set in variables fix pre commit issue in the pipeline
This commit is contained in:
@@ -112,3 +112,4 @@ crio_default_capabilities:
|
||||
- SETPCAP
|
||||
- NET_BIND_SERVICE
|
||||
- KILL
|
||||
crio_additional_mounts: []
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
/usr/share/rhel/secrets:/run/secrets
|
||||
@@ -184,8 +184,8 @@
|
||||
notify: Restart crio
|
||||
|
||||
- name: Cri-o | copy mounts.conf
|
||||
copy:
|
||||
src: mounts.conf
|
||||
template:
|
||||
src: mounts.conf.j2
|
||||
dest: /etc/containers/mounts.conf
|
||||
mode: "0644"
|
||||
when:
|
||||
|
||||
4
roles/container-engine/cri-o/templates/mounts.conf.j2
Normal file
4
roles/container-engine/cri-o/templates/mounts.conf.j2
Normal file
@@ -0,0 +1,4 @@
|
||||
/usr/share/rhel/secrets:/run/secrets
|
||||
{% for mount in crio_additional_mounts %}
|
||||
{{ mount }}
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user