Add support for injecting `tolerations` to sonobuoy pod
masap opened this issue · comments
Describe the solution you'd like
[A clear and concise description of what you want to happen.]
We can inject tolerations
to plugin pods but can't inject to sonobuoy
pod.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
I would like to specify Tolerations with sonobuoy run --confg=sonobuoy-config.json
. sonobuoy-config.json
contains Tolerations.
{
"Tolerations": [
{
"Key": "node-role.kubernetes.io/master",
"Operator": "Exists",
"Effect": "NoSchedule"
},
{
"Key": "CriticalAddonsOnly",
"Operator": "Exists"
},
{
"Key": "node-role.kubernetes.io/controlplane",
"Operator": "Equal",
"Value": "true",
"Effect": "NoSchedule"
}
]
}
Environment:
- Sonobuoy version:
- Kubernetes version: (use
kubectl version
): - Kubernetes installer & version:
- Cloud provider or hardware configuration:
- OS (e.g. from
/etc/os-release
):