Skip to content

Commit

Permalink
Merge pull request #20484 from chaodaiG/update-prometheus-operator
Browse files Browse the repository at this point in the history
Upgrade prometheus operator to 0.45.0
  • Loading branch information
k8s-ci-robot authored Mar 9, 2021
2 parents 8b0090d + 515d740 commit c845534
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ spec:
- args:
- --kubelet-service=kube-system/kubelet
- --logtostderr=true
- --config-reloader-image=quay.io/coreos/configmap-reload:v0.0.1
- --prometheus-config-reloader=quay.io/coreos/prometheus-config-reloader:v0.29.0
- --prometheus-config-reloader=quay.io/prometheus-operator/prometheus-config-reloader:v0.45.0
- --namespaces=prow-monitoring
image: quay.io/coreos/prometheus-operator:v0.29.0
image: quay.io/prometheus-operator/prometheus-operator:v0.45.0
name: prometheus-operator
ports:
- containerPort: 8080
Expand Down
28 changes: 17 additions & 11 deletions config/prow/cluster/monitoring/prometheus_operator_rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,20 @@ kind: ClusterRole
metadata:
name: prow-prometheus-operator
rules:
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- '*'
- apiGroups:
- monitoring.coreos.com
resources:
- alertmanagers
- alertmanagers/finalizers
- alertmanagerconfigs
- prometheuses
- prometheuses/finalizers
- prometheusrules
- thanosrulers
- thanosrulers/finalizers
- servicemonitors
- podmonitors
- probes
- prometheusrules
verbs:
- '*'
- apiGroups:
Expand All @@ -52,18 +51,17 @@ rules:
resources:
- pods
verbs:
- delete
- list
- delete
- apiGroups:
- ""
attributeRestrictions: null
resources:
- endpoints
- services
- services/finalizers
- endpoints
verbs:
- create
- get
- create
- update
- delete
- apiGroups:
Expand All @@ -81,6 +79,14 @@ rules:
- get
- list
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs:
- get
- list
- watch
---
apiVersion: v1
kind: ServiceAccount
Expand Down
2 changes: 1 addition & 1 deletion config/prow/cluster/monitoring/prow_alertmanager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
namespace: prow-monitoring
spec:
replicas: 3
baseImage: docker.io/prom/alertmanager
image: docker.io/prom/alertmanager
listenLocal: false
nodeSelector: {}
securityContext:
Expand Down
2 changes: 1 addition & 1 deletion config/prow/cluster/monitoring/prow_prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
- key: app
operator: Exists
version: v2.7.1
baseImage: docker.io/prom/prometheus
image: docker.io/prom/prometheus
externalLabels: {}
listenLocal: false
nodeSelector: {}
Expand Down

0 comments on commit c845534

Please sign in to comment.