Many tests could easily modify the input object to add the improvements automatically.
For example the "X-has-host-podantiaffinity" tests:
With an input like:
apiVersion: apps/v1
kind: Deployment
metadata:
name: foobar
spec:
replicas: 10
template:
metadata:
labels:
app: foo
spec:
containers:
- name: foobar
image: foo:bar
The following affinity rule could be added fairly easily:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
app: foo
topologyKey: kubernetes.io/hostname
The hardest part with this, is to preserve as much of the original YAML (comments etc) as possible. I don't know at the moment if there are any tools that will make this easier.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too