kube-prometheus/examples/tolerations.libsonnet
Kemal Akkoyun c236fec779 Remove ksonnet from prometheus-pvc.jsonnet
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-11-06 14:14:59 +01:00

25 lines
368 B
Jsonnet

{
_config+:: {
tolerations+:: [
{
key: 'key1',
operator: 'Equal',
value: 'value1',
effect: 'NoSchedule',
},
{
key: 'key2',
operator: 'Exists',
},
],
},
prometheus+: {
prometheus+: {
spec+: {
tolerations: [t for t in $._config.tolerations],
},
},
},
}