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:
Mahendra Reddy
2025-10-14 06:45:32 +05:30
committed by GitHub
parent fbf957ab5d
commit ee6a792ec0
4 changed files with 7 additions and 3 deletions

View File

@@ -112,3 +112,4 @@ crio_default_capabilities:
- SETPCAP
- NET_BIND_SERVICE
- KILL
crio_additional_mounts: []

View File

@@ -1 +0,0 @@
/usr/share/rhel/secrets:/run/secrets

View File

@@ -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:

View File

@@ -0,0 +1,4 @@
/usr/share/rhel/secrets:/run/secrets
{% for mount in crio_additional_mounts %}
{{ mount }}
{% endfor %}