Skip to content

Commit cdf0149

Browse files
Merge pull request #217 from lpiwowar/bugfix/update-privileged-documentation
[docs] Add documentation for privileged parameter
2 parents 44530f9 + ac494f1 commit cdf0149

File tree

4 files changed

+48
-0
lines changed

4 files changed

+48
-0
lines changed

config/samples/test_v1beta1_ansibletest.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@ spec:
2020
---
2121
# Use exist cloud resources
2222
somevar: somevalue
23+
24+
# Privileged
25+
# ----------
26+
#
27+
# Use with caution! This parameter specifies whether test-operator should spawn test
28+
# pods with allowedPrivilegedEscalation: true and the default capabilities on
29+
# top of capabilities that are usually needed by the test pods (NET_ADMIN, NET_RAW).
30+
# This parameter is deemed insecure but it is needed for certain test-operator
31+
# functionalities to work properly (e.g.: extraRPMs in Tempest CR, or certain set
32+
# of tobiko tests).
33+
#
34+
# privileged: false
2335
workflow:
2436
- stepName: beststep
2537
ansibleExtraVars: ' -e manual_run=false '

config/samples/test_v1beta1_horizontest.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,15 @@ spec:
5454

5555
# The maximum number of retry executions (optional)
5656
backoffLimit: 0
57+
58+
# Privileged
59+
# ----------
60+
#
61+
# Use with caution! This parameter specifies whether test-operator should spawn test
62+
# pods with allowedPrivilegedEscalation: true and the default capabilities on
63+
# top of capabilities that are usually needed by the test pods (NET_ADMIN, NET_RAW).
64+
# This parameter is deemed insecure but it is needed for certain test-operator
65+
# functionalities to work properly (e.g.: extraRPMs in Tempest CR, or certain set
66+
# of tobiko tests).
67+
#
68+
# privileged: false

config/samples/test_v1beta1_tempest.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,17 @@ spec:
2727
# the private key in ssh-privatekey field of the secret.
2828
#
2929
# SSHKeySecretName: secret_name
30+
31+
# Privileged
32+
# ----------
33+
# Use with caution! This parameter specifies whether test-operator should spawn test
34+
# pods with allowedPrivilegedEscalation: true and the default capabilities on
35+
# top of capabilities that are usually needed by the test pods (NET_ADMIN, NET_RAW).
36+
# This parameter is deemed insecure but it is needed for certain test-operator
37+
# functionalities to work properly (e.g.: extraRPMs in Tempest CR, or certain set
38+
# tobiko tests).
39+
#
40+
# privileged: false
3041
tempestRun:
3142
# NOTE: All parameters have default values (use only when you want to override
3243
# the default behaviour)

config/samples/test_v1beta1_tobiko.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ metadata:
66
namespace: openstack
77
spec:
88
containerImage: ""
9+
10+
# Privileged
11+
# ----------
12+
#
13+
# Use with caution! This parameter specifies whether test-operator should spawn test
14+
# pods with allowedPrivilegedEscalation: true and the default capabilities on
15+
# top of capabilities that are usually needed by the test pods (NET_ADMIN, NET_RAW).
16+
# This parameter is deemed insecure but it is needed for certain test-operator
17+
# functionalities to work properly (e.g.: extraRPMs in Tempest CR, or certain set
18+
# of tobiko tests).
19+
#
20+
# privileged: false
21+
922
# storageClass: local-storage
1023
# parallel: false
1124
# debug: false

0 commit comments

Comments
 (0)