Skip to content

Commit

Permalink
Merge pull request #217 from lpiwowar/bugfix/update-privileged-docume…
Browse files Browse the repository at this point in the history
…ntation

[docs] Add documentation for privileged parameter
  • Loading branch information
openshift-merge-bot[bot] authored Oct 7, 2024
2 parents 44530f9 + ac494f1 commit cdf0149
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
12 changes: 12 additions & 0 deletions config/samples/test_v1beta1_ansibletest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ spec:
---
# Use exist cloud resources
somevar: somevalue
# Privileged
# ----------
#
# Use with caution! This parameter specifies whether test-operator should spawn test
# pods with allowedPrivilegedEscalation: true and the default capabilities on
# top of capabilities that are usually needed by the test pods (NET_ADMIN, NET_RAW).
# This parameter is deemed insecure but it is needed for certain test-operator
# functionalities to work properly (e.g.: extraRPMs in Tempest CR, or certain set
# of tobiko tests).
#
# privileged: false
workflow:
- stepName: beststep
ansibleExtraVars: ' -e manual_run=false '
Expand Down
12 changes: 12 additions & 0 deletions config/samples/test_v1beta1_horizontest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,15 @@ spec:

# The maximum number of retry executions (optional)
backoffLimit: 0

# Privileged
# ----------
#
# Use with caution! This parameter specifies whether test-operator should spawn test
# pods with allowedPrivilegedEscalation: true and the default capabilities on
# top of capabilities that are usually needed by the test pods (NET_ADMIN, NET_RAW).
# This parameter is deemed insecure but it is needed for certain test-operator
# functionalities to work properly (e.g.: extraRPMs in Tempest CR, or certain set
# of tobiko tests).
#
# privileged: false
11 changes: 11 additions & 0 deletions config/samples/test_v1beta1_tempest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,17 @@ spec:
# the private key in ssh-privatekey field of the secret.
#
# SSHKeySecretName: secret_name

# Privileged
# ----------
# Use with caution! This parameter specifies whether test-operator should spawn test
# pods with allowedPrivilegedEscalation: true and the default capabilities on
# top of capabilities that are usually needed by the test pods (NET_ADMIN, NET_RAW).
# This parameter is deemed insecure but it is needed for certain test-operator
# functionalities to work properly (e.g.: extraRPMs in Tempest CR, or certain set
# tobiko tests).
#
# privileged: false
tempestRun:
# NOTE: All parameters have default values (use only when you want to override
# the default behaviour)
Expand Down
13 changes: 13 additions & 0 deletions config/samples/test_v1beta1_tobiko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ metadata:
namespace: openstack
spec:
containerImage: ""

# Privileged
# ----------
#
# Use with caution! This parameter specifies whether test-operator should spawn test
# pods with allowedPrivilegedEscalation: true and the default capabilities on
# top of capabilities that are usually needed by the test pods (NET_ADMIN, NET_RAW).
# This parameter is deemed insecure but it is needed for certain test-operator
# functionalities to work properly (e.g.: extraRPMs in Tempest CR, or certain set
# of tobiko tests).
#
# privileged: false

# storageClass: local-storage
# parallel: false
# debug: false
Expand Down

0 comments on commit cdf0149

Please sign in to comment.