Skip to content

Commit

Permalink
test: add more policies to the e2e environment
Browse files Browse the repository at this point in the history
This is going to be useful also to perform the k6 tests.

Signed-off-by: Flavio Castelli <[email protected]>
  • Loading branch information
flavio committed Nov 21, 2023
1 parent 42800dd commit e361197
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions e2e-tests/test_data/policies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,26 @@ raw-mutation-wasi:
- "banana"
- "carrot"
defaultResource: "hay"

apparmor:
url: ghcr.io/kubewarden/tests/apparmor-psp:v0.1.13
allowedToMutate: false
settings:
allowed_profiles:
- runtime/default

psp-user-group:
url: ghcr.io/kubewarden/tests/user-group-psp:v0.4.9
allowedToMutate: true
settings:
run_as_user:
rule: MustRunAs
ranges:
- min: 1000
max: 2000
run_as_group:
rule: RunAsAny
overwrite: false
supplemental_groups:
rule: RunAsAny
overwrite: false

0 comments on commit e361197

Please sign in to comment.