mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-08-27 01:11:53 +02:00
25 lines
368 B
Jsonnet
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],
|
|
},
|
|
},
|
|
},
|
|
}
|