mirror of
https://github.com/kubescape/kubescape.git
synced 2026-02-14 18:09:55 +00:00
22 lines
329 B
YAML
22 lines
329 B
YAML
# Fix to Apply:
|
|
# REMOVE:
|
|
# "del(select(di==0).spec.containers[0].securityContext)"
|
|
|
|
# INSERT:
|
|
# select(di==0).spec.securityContext.runAsRoot: false
|
|
|
|
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: insert_to_mapping_node_1
|
|
|
|
spec:
|
|
containers:
|
|
- name: nginx_container
|
|
|
|
image: nginx
|
|
securityContext:
|
|
runAsRoot: false
|
|
|