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.
32 lines
503 B
YAML
32 lines
503 B
YAML
# Fix to Apply:
|
|
# del(select(di==0).spec.containers[0].securityContext)
|
|
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: remove_example
|
|
|
|
spec:
|
|
containers:
|
|
- name: nginx_container
|
|
image: nginx
|
|
securityContext:
|
|
runAsRoot: false
|
|
|
|
---
|
|
|
|
# Fix to Apply:
|
|
# del(select(di==0).spec.containers[1])
|
|
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: remove_example
|
|
|
|
spec:
|
|
containers:
|
|
- name: nginx_container
|
|
image: nginx
|
|
|
|
- name: container_with_security_issues
|
|
image: image_with_security_issues |