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

View File

@@ -11,7 +11,7 @@ spec:
scope: Namespaced
validation:
openAPIV3Schema:
description: Describes an Alertmanager cluster.
description: Alertmanager describes an Alertmanager cluster.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation