Skip to content

Commit 1dc25ee

Browse files
committed
Add caps to Parameters section
1 parent 37f7650 commit 1dc25ee

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

roles/generate-jenkins/templates/README.j2

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
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

0 commit comments

Comments
 (0)