mirror of
https://github.com/kubescape/kubescape.git
synced 2026-02-14 18:09:55 +00:00
This change: - Changes test data naming convention to be lexicographically sortable and have input and expected data side-by-side. - Executes each test case in a separate run.
18 lines
395 B
YAML
18 lines
395 B
YAML
# Fix to Apply:
|
|
# select(di==0).spec.containers[0].securityContext.capabilities.drop[0] |= "SYS_ADM"
|
|
# select(di==0).spec.containers[0].securityContext.capabilities.add[0] |= "NET_RAW"
|
|
|
|
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: insert_list
|
|
spec:
|
|
containers:
|
|
- name: nginx1
|
|
image: nginx
|
|
securityContext:
|
|
capabilities:
|
|
drop:
|
|
- "NET_RAW"
|
|
add: ["SYS_ADM"] |