prometheus: Enable live migration of rule configmaps to rule file crds

With this patch the Prometheus Operator checks if there are any
Kubernetes ConfigMaps inside the Prometheus namespace which fullfill the
`Spec.RuleSelector` requirement. If so, it creates a RuleFile for each
key in the `ConfigMap.Spec.Data` map inside the Prometheus namespace.
This commit is contained in:
Max Leonard Inden
2018-05-29 16:42:38 +02:00
parent fedfc8afd3
commit 453e170f6a
5 changed files with 115 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long