kube-prometheus: Adjust to new Prometheus rule file CRD

89fc4e306972604eba2dcb961a6d29cc27a668ad introduced the new Prometheus
rule file custom resource definition. This patch adjusts the
kube-prometheus project to use the new custom resource definition.
This commit is contained in:
Max Leonard Inden
2018-06-04 17:13:23 +02:00
parent a47d97859a
commit 8f3b505049
5 changed files with 809 additions and 389 deletions

View File

@@ -17,6 +17,7 @@ rules:
- prometheuses/finalizers
- alertmanagers/finalizers
- servicemonitors
- rulefiles
verbs:
- '*'
- apiGroups:

View File

@@ -19,7 +19,7 @@ spec:
- args:
- --kubelet-service=kube-system/kubelet
- --config-reloader-image=quay.io/coreos/configmap-reload:v0.0.1
- --prometheus-config-reloader=quay.io/coreos/prometheus-config-reloader:v0.0.4
- --prometheus-config-reloader=quay.io/coreos/prometheus-config-reloader:v0.19.0
image: quay.io/coreos/prometheus-operator:v0.19.0
name: prometheus-operator
ports:

File diff suppressed because it is too large Load Diff