File tree Expand file tree Collapse file tree
roles/generate-jenkins/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535{% if kasm_blurb is defined %}
3636{% include "README_SNIPPETS/KASM.j2" | trim %}
3737
38- {% endif %}
38+ {% endif %}
3939{% if readonly_supported is defined and readonly_supported %}
4040{% include "README_SNIPPETS/READONLY.j2" | trim %}
4141
@@ -146,6 +146,16 @@ Containers are configured using parameters passed at runtime (such as those abov
146146{% if readonly_supported is defined and readonly_supported %}
147147| `--read-only=true` | Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |
148148{% endif %}
149+ {% if cap_add_param %}
150+ {% for item in cap_add_param_vars %}
151+ | `--cap-add={{ item.cap_add_var }}` | {{ item.desc }} |
152+ {% endfor %}
153+ {% endif %}
154+ {% if opt_cap_add_param %}
155+ {% for item in opt_cap_add_param_vars %}
156+ | `--cap-add={{ item.cap_add_var }}` | {{ item.desc }} |
157+ {% endfor %}
158+ {% endif %}
149159{% if cap_add_param or opt_cap_add_param or (custom_params is defined and 'sysctl' in (custom_params | map (attribute ="name" )) ) %}
150160
151161### Portainer notice
You can’t perform that action at this time.
0 commit comments