mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
This change makes the autofix handler use the newline separator defined in the fixed file for writing its changes.
14 lines
272 B
YAML
14 lines
272 B
YAML
# Fix to Apply:
|
|
# select(di==0).spec.containers += {"name": "redis", "image": "redis"}
|
|
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: indented-list-insert-new-object
|
|
spec:
|
|
containers:
|
|
- name: nginx_container
|
|
image: nginx
|
|
- name: redis
|
|
image: redis
|