Commit Graph
157 Commits
Author SHA1 Message Date
Carlos Alexandro Becker 0459eb2bda [stable/prometheus-operator]: upgrade alertmanager (#17084)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-09-11 13:38:33 -07:00
Cédric de Saint Martin c69f51ecba [stable/prometheus-operator] Update kube-state-metrics to 2.3.1 and grafana to 3.8.11. (#17057)
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2019-09-11 03:19:23 -07:00
Jan Steffen 7bdb9fb4d9 [stable/prometheus-operator] walCompression of wrong type (#17046)
* Bump chart to version 6.9.3

Signed-off-by: jan.steffen <jan.steffen@figo.io>

* Remove quoting of walCompression in prometheus spec

Signed-off-by: jan.steffen <jan.steffen@figo.io>
2019-09-10 09:08:54 -07:00
Jan Steffen 3a1946ebaf [stable/prometheus-operator] Add walCompression to CRD and bump chart version (#17004)
* Add walCompression to CRD and bump chart version to 6.8.4

Signed-off-by: jan.steffen <jan.steffen@figo.io>

* Add walCompression to CRD and bump chart version to 6.8.4

Signed-off-by: jan.steffen <jan.steffen@figo.io>
2019-09-10 06:20:54 -07:00
Tom Gehrke c6df9a936d [stable/prometheus-operator] Add conditional for prometheus.ingress.hosts (#16977)
* Add conditional for prometheus.ingress.hosts

Signed-off-by: Tom Gehrke <t.gehrke@reply.de>

* Bump patch version to 6.9.1

Signed-off-by: Tom Gehrke <t.gehrke@reply.de>

* Add condition for alertmanager as well

Signed-off-by: Tom Gehrke <t.gehrke@reply.de>
2019-09-09 11:38:55 -07:00
Alastair Firth 72e4abed62 [stable/prometheus-operator] Add override for Kubernetes Version (#16994)
* add override to sync_* and README

Signed-off-by: afirth <afirth@users.noreply.github.com>

* sync upstream dashboards and rules

Signed-off-by: afirth <afirth@users.noreply.github.com>

* delete old rules and dashboards no longer in upstream

Signed-off-by: afirth <afirth@users.noreply.github.com>

* update manually created dashboards

Signed-off-by: afirth <afirth@users.noreply.github.com>

* bump chart version

Signed-off-by: afirth <afirth@users.noreply.github.com>
2019-09-09 09:31:19 -07:00
Matteo Gazzetta 0ac9362279 Sync prometheus operator dashboard and rules (#16814)
Signed-off-by: Matteo Gazzetta <matteo_gazzetta@hotmail.it>
2019-09-05 16:46:57 -07:00
Vasily Sliouniaev 0efbcebb08 [stable/prometheus-operator] Lower dependency req (#16523)
* Lower dependency

Signed-off-by: vas <vasily.sliouniaev@jet.com>

* Resync rules and dashboards

Signed-off-by: vas <vasily.sliouniaev@jet.com>

* Bump version

Signed-off-by: vas <vasily.sliouniaev@jet.com>

* Remove anothertobi

Signed-off-by: vas <vasily.sliouniaev@jet.com>

* Fix cleanup flag

Signed-off-by: vas <vasily.sliouniaev@jet.com>

* Re-run sync

Signed-off-by: vas <vasily.sliouniaev@jet.com>
2019-09-04 07:45:00 -07:00
Marius Voila bb512699de bumping Grafana chart version to fix CVE-2019-15043 (#16747)
Signed-off-by: Marius Voila <myself@mariusv.com>
2019-09-02 00:45:41 -07:00
Elliot Fehr 21991ac972 [stable/prometheus-operator] Allow WAL compression + upgrade prometheus (#16635)
* upgrade default prometheus version to 2.12.0 + expose walCompression option

Signed-off-by: Elliot Fehr <elliot@squareup.com>

* upgrade prometheus operator to 0.32.0

Signed-off-by: Elliot Fehr <elliot@squareup.com>
2019-08-31 02:51:47 -07:00
Emil Marklund adff1d4c91 Aphabetized values for increased readability (#16589)
Signed-off-by: Emil Marklund <emil.marklund@vkmedia.se>
2019-08-30 14:22:02 -07:00
JaWeissiekerDS24 f815a594fa [stable/prometheus-operator] adding retentionSize to helm chart (#15230) (#16470)
* providing functionality requested in #15230

Signed-off-by: Jan Weisssieker <jan.weisssieker@digistore24.team>

* bump chart version

Signed-off-by: Jan Weisssieker <jan.weisssieker@digistore24.team>
2019-08-21 04:51:15 -07:00
Dennis Webb 9c2bd6d59c Fixes instructions to 5 CRDs from 4. (#15370)
Signed-off-by: Dennis Webb <dennis@bluesentryit.com>
2019-08-18 15:58:03 -07:00
Damian Myerscough a12ec23aed [stable/chart] Update Grafana due to kiwigrid/k8s-sidecar crashing (#16367)
Signed-off-by: Damian Myerscough <Damian.Myerscough@gmail.com>
2019-08-16 12:08:09 -07:00
ori78 081dff3bd5 [stable/prometheus-operator] Fixed README to reflect prometheus deployment template (#16281)
* Bump chart version

Signed-off-by: Ori Talmor <ori.t@ecobee.com>

* Fixed README to reflect prometheus deployment template

Signed-off-by: Ori Talmor <ori.t@ecobee.com>
2019-08-13 08:35:43 -07:00
Vasily Sliouniaev eeee789c00 [stable/prometheus-operator] Fix several issues (#16264)
* Fix some bugs

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>

* Resync rules for GKE kube version

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>

* Add docs for GKE private clusters

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>
2019-08-13 03:57:41 -07:00
Matteo Gazzetta 5ff1fc1bdc Sync prometheus operator dashboard and rules (#16230)
Signed-off-by: Matteo Gazzetta <matteo_gazzetta@hotmail.it>
2019-08-12 15:11:37 -07:00
Michael Merrill 99d3bde168 [stable/prometheus-operator] Updating ingress RBAC to access networking.k8s.io (#16226) (#16227)
Signed-off-by: mmerrill3 <michael.merrill@vonage.com>
2019-08-12 12:11:04 -07:00
Carlos Alexandro Becker e98bf1b928 [stable/prometheus-operator]: fix alertmanagr pdb docs (#16210)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-10 04:47:12 -07:00
Carlos Alexandro Becker ca0c95954d [stable/prometheus-operator]: fix pdb docs (#16196)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-09 05:57:26 -07:00
Daniel Andrei Mincă f4743a1876 [stable/chart/prometheus-operator] fix prometheus-operator chart readme (#16177)
* fix prometheus-operator chart readme

Signed-off-by: Daniel Andrei Minca <mandrei17@gmail.com>

* bump chart version

Signed-off-by: Daniel Andrei Minca <mandrei17@gmail.com>
2019-08-08 06:55:18 -07:00
Carlos Alexandro Becker 779f3eba68 [stable/prometheus-operator]: allow to disable time and network rules (#16037)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-02 01:21:51 -07:00
4fa1857a61 [stable/prometheus-operator] fixes #16013 (#16018)
check for global.rbac.create flag on webhook, support PSPs

Co-authored-by: Harsha Katepal <hkatepal@ford.com>
Co-authored-by: Stuart Charlton <scharlton@pivotal.io>
Signed-off-by: Harsha Katepal <hkatepal@ford.com>
2019-08-01 01:56:14 -07:00
Vasily Sliouniaev b469d491e2 [stable/prometheus-operator] PrometheusRule Admission Webhooks (#14543)
* Admission hoooks POC

Signed-off-by: vas <v.sliouniaev@gmail.com>

* Update test values

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>

* Enable admission hooks by default

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>

* Update values to use enabled in favor of create

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>

* Fix secret creation to be pre-

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>

* Update values, readme

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>

* Fix tls port on service

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>

* Add readme section about using prometheus.io/scrape

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>

* Fix typos

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>
2019-07-30 06:48:53 -07:00
Mátyás Somfai 50fa3099e2 [stable/prometheus-operator] Update README.md (#15918)
* Update README.md

Signed-off-by: Matyas Somfai <somfai.matyas@gmail.com>

* Update Chart.yaml

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
2019-07-29 02:20:06 -07:00
John Naulty Jr 8a0412450d [stable/prometheus-operator] Fix #15819 datasource config from k8s secrets (#15855)
* [stable/prometheus-operator] Fix #15819

Fix #15819 issue configuring datasources from kubernetes secrets

Changes in the stable/grafana charts allows for the recommended updating
and removal of datasources via kubernetes secrets. Older versions of
this chart do not allow this feature.

Signed-off-by: John Naulty <johnnaulty@bitgo.com>

* [stable/prometheus-operator] bump up minor version

This is adding feature, so minor version should be updaated, not patch
version.

Signed-off-by: John Naulty <johnnaulty@bitgo.com>
2019-07-25 02:51:51 -07:00
John Naulty Jr 0f032a47f4 [stable/prometheus-operator] fix #15572 alertmanager (#15582)
* [stable/prometheus-operator] fix #15572 alertmanager

- fixes issue with alertmanager not coming up due to <nil> logFormat
value

Signed-off-by: John Naulty <johnnaulty@bitgo.com>

* bump version up after rebase

Signed-off-by: John Naulty <johnnaulty@bitgo.com>
2019-07-24 15:31:53 -07:00
Minh Danh 5d9ad30684 Upgrade grafana chart to version 3.5.13 (#15411)
Signed-off-by: Minh Danh <minhdanh.ngo@gmail.com>

a
2019-07-24 00:46:16 -07:00
moskitone 55fe0b38c1 [stable/prometheus-operator] Kube-dns dnsmasq relabelings. (#15150)
Added metrics relabeling config to kube-dns dnsmasq service monitor.

Signed-off-by: Volodymyr Moseichuk <moskitone@gmail.com>
2019-07-23 04:06:54 -07:00
André R. de Miranda 0ae5180276 [stable/prometheus-operator] Updated the kube-state-metrics svc matchlabels (#15578)
* Updated the kube-state-metrics svc matchlabels

The labels from kube-state-metrics service have been changed in commit: https://github.com/helm/charts/commit/ece06ce7535925760b901d630320b429524e6dea#diff-5683c47f1fce3f75f10401ba9b88815b

Signed-off-by: André R. de Miranda <andre@miranda.work>

* Bumped version

Signed-off-by: André R. de Miranda <andre@miranda.work>

* Changed jobLabel from app to app.kubernetes.io/name

Signed-off-by: André R. de Miranda <andre@miranda.work>

* Updated version of kube-state-metric dependency and regenerated the requeriments.lock

Signed-off-by: André R. de Miranda <andre@miranda.work>

* Added helm upgrade instruction in the README

Signed-off-by: André R. de Miranda <andre@miranda.work>
2019-07-19 08:01:18 -07:00
Bhavin Gandhi cfbcbb1ddd [stable/prometheus-operator] Create datasource for each Prometheus (#14846)
- Adds ability to create datasource for each Pod of Prometheus
- Uses headless service prometheus-operated which is created by
  Prometheus Operator
- ref:
  https://github.com/coreos/prometheus-operator/blob/0fee93e12dc7c2ea1218f19ae25ec6b893460590/pkg/prometheus/statefulset.go#L255-L286
- Update README.md
- Bump version in Chart.yaml

Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
2019-07-19 05:47:13 -07:00
Michał Wieczorek 6dc6a543e6 [stable/prometheus-operator] Expose Prometheus PSP allowedCapabilities in values file (#15683)
Signed-off-by: mwieczorek <wieczorek-michal@wp.pl>
2019-07-19 02:11:15 -07:00
Haoyu Wang 1c0d7ce99d Add kube-proxy exporter to prometheus-operator charts. (#15664)
Signed-off-by: whypro <whypro@live.com>
2019-07-18 23:49:10 -07:00
Asher Foa ac55e67d20 [stable/prometheus-operator] Update requirements (grafana, kube-state-metrics, kube-state-metrics) (#15285)
Signed-off-by: Asher Foa <asher@asherfoa.com>
2019-07-17 02:12:34 -07:00
clsau 3c7f982b4f Adding TLS params to kube controller manager and kube scheduler (#15277)
Signed-off-by: Clarisse Sauvage <clarisse.sauvage@jet.com>
2019-07-05 09:02:36 -07:00
Shini31 138b61febb [stable/prometheus-operator] Fix #14874 (#14877)
* [stable/prometheus-operator] Fix #14874

Signed-off-by: Mathieu Cinquin <github@capitoul.net>

* Bump version

Signed-off-by: Mathieu Cinquin <github@capitoul.net>
2019-06-28 03:57:38 -07:00
Carlos Alexandro Becker d58247103f [stable/prometheus-operator] updated to 0.31.1 (#14943)
* feat: update prometheus-operator

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: remove thanos-cluster port from examples

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* docs: manual del/install crd

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: cleanup crds

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: update test-values

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: clusterrole

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* bump: prometheus-operator

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: crds

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* bump: prometheus-operator

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: undo rules upgrade

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* docs: fix readme

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* ci: cleanup crd before install

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* Clean up CRDs before install for CI

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>
2019-06-27 23:57:38 -07:00
Nigel Foucha 8f3f909fbb [stable/prometheus-operator] Add optional *additionalPrometheusRulesMap* which will override *additionalPrometheusRules* and allow for merging across multiple values files. Deprecated *additionalPrometheusRules* in favor of the new option. (#14490)
Signed-off-by: Nigel Foucha <nigel.foucha@gmail.com>
2019-06-27 16:23:44 -07:00
robbie-demuth 4243f59270 Prometheus operator enhancements (#14593)
* [stable/prometheus-operator] Allow template strings in metricRelabelings

This allows passing template strings as follows to do things such as
only keeping metrics for the current namespace

```
metricRelabelings:
- sourceLabels:
  - namespace
  regex: '{{ .Release.Namespace }}'
  action: keep
```

Signed-off-by: Robbie deMuth <robbie.demuth@appian.com>

* [stable/prometheus-operator] Disable AlertManager connection when AlertManager is disabled

Previously, the Prometheus server was still wired to the default
AlertManager server even when `.Values.alertmanager.enabled` was set to
`false`

Signed-off-by: Robbie deMuth <robbie.demuth@appian.com>

* [stable/prometheus-operator] Allow template strings in Alertmanager configuration directives

This allows passing template strings as follows to do things such as
configure a webhook_config URL to point to a service deployed in the
same namespace

```
alertmanager:
  config:
    receivers:
    - name: webhook
      webhook_configs:
      - url: http://alertmanager-webhook.{{ .Release.Namespace }}.svc.cluster.local/
```

Signed-off-by: Robbie deMuth <robbie.demuth@appian.com>

* [stable/prometheus-operator] Increment chart version

Signed-off-by: Robbie deMuth <robbie.demuth@appian.com>
2019-06-26 09:20:17 -07:00
Michał Wieczorek 53573744cd [stable/prometheus-operator] Remove unused role/rolebinding from prometheus templates (#14524)
Signed-off-by: mwieczorek <wieczorek-michal@wp.pl>
2019-06-26 02:23:16 -07:00
Chris 213b37bf47 [stable/prometheus-operator] replaced kubernetes api-conventions link (#14956)
* [stable/prometheus-operator] replaced kubernetes api-conventions link

Signed-off-by: Christian Niehoff <christian.niehoff@dwpbank.de>

* [stable/prometheus-operator] run hack/update-ci.sh

Signed-off-by: Christian Niehoff <christian.niehoff@dwpbank.de>

* [stable/prometheus-operator] bumbed chart version

Signed-off-by: Christian Niehoff <christian.niehoff@dwpbank.de>

* [stable/prometheus-operator] added #metadata to link

Signed-off-by: Christian Niehoff <christian.niehoff@dwpbank.de>

* [stable/prometheus-operator] run hack/update-ci.sh again

Signed-off-by: Christian Niehoff <christian.niehoff@dwpbank.de>
2019-06-21 04:20:36 -07:00
Deepak Sood e9e5d8d693 [stable/prometheus-operator] Mark **An example template** explicitly as comment (#14611)
* Mark **An example template** explicitly as comment

It's a small change, but if a beginner it is not obvious and can take half a day to solve this.

Signed-off-by: Deepak Kumar Sood <deepaksood619@gmail.com>

* Mark **An example template** explicitly as comment

It's a small change, but if a beginner it is not obvious and can take half a day to solve this.

Signed-off-by: Deepak Kumar Sood <deepaksood619@gmail.com>

* Chart version bumped to 5.12.3

Signed-off-by: Deepak Kumar Sood <deepaksood619@gmail.com>
2019-06-09 05:45:05 -07:00
Bismarck Paliz 350abaff4d Adding support for replicaExternalLabelName and prometheusExternalLabelName. (#14572)
Signed-off-by: Bismarck Paliz <bismarck.paliz@jet.com>
2019-06-06 13:34:02 -07:00
moskitone 7f5a7783ce [stable/prometheus-operator] Kubelet relabelings. (#14551)
* [stable/prometheus-operator] Kubelet relabelings.

Added metrics relabeling config to kubelet service monitor.

Signed-off-by: Volodymyr Moseichuk <moskitone@gmail.com>

* [stable/prometheus-operator] Kubelet relabelings.

Added metrics relabeling config to kubelet service monitor.

Signed-off-by: Volodymyr Moseichuk <moskitone@gmail.com>
2019-06-06 07:36:15 -07:00
Vasily Sliouniaev af2af1af66 [stable/prometheus-operator] Update components,cleanup (#14387)
* [stable/prometheus-operator] Bump app to 0.30.1

Signed-off-by: vas <v.sliouniaev@gmail.com>

* Update kube-state-metrics, node-exporter

Signed-off-by: vas <v.sliouniaev@gmail.com>

* Bump chart minor version

Signed-off-by: vas <v.sliouniaev@gmail.com>

* Remove no-op roles and rolebindings

The clusterrole used by Prometheus already incorporates permissions
that are granted by these. Removing to help with possible confusion.

Signed-off-by: vas <v.sliouniaev@gmail.com>
2019-06-03 01:32:27 -07:00
Suraj Deshmukh 47f8cb748b prometheus-operator: missing nodeAffinity field in values (#13569)
This commit fixes the example config given in the values file for
`affinity`, to include the key `nodeAffinity`.

Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com>
2019-05-31 17:40:22 -07:00
Stanislav Petrashov 56890097c1 [stable/prometheus-operator] Update prometheus-operator image to v0.30.0 (#14178)
- Updated README
- Updated chart version
- Updated values.yaml
- Updated test-values.yaml

Signed-off-by: Stanislav Petrashov <sp@hellofresh.com>
2019-05-28 15:47:50 -07:00
Enrique González 077132cac2 [stable/prometheus-operator] Bump grafana dependency version (#14176)
* Bump up dependency version

Signed-off-by: Enrique Gonzalez <goga.enrique@gmail.com>

* Bump chart version

Signed-off-by: Enrique Gonzalez <goga.enrique@gmail.com>
2019-05-28 03:25:54 -07:00
Matteo Gazzetta eba702c830 Sync prometheus operator dashboard and rules (#13732)
Signed-off-by: Matteo Gazzetta <matteo_gazzetta@hotmail.it>
2019-05-23 23:24:18 -07:00
Tobias Nehrlich 6a94c082c2 [stable/prometheus-operator] Incorporate upstream changes in clusterrole.yaml (#13759)
* Allow the prometheus-operator to delete services

This change was introduced in the prometheus-operator repository in
https://github.com/coreos/prometheus-operator/pull/2319.

Signed-off-by: Tobias Nehrlich <tobias.nehrlich@vshn.ch>

* Add myself as a maintainer

Since we are using this operator @vshn I will keep maintaining the
stable chart.

Signed-off-by: Tobias Nehrlich <tobias.nehrlich@vshn.ch>

* Bump chart version

Signed-off-by: Tobias Nehrlich <tobias.nehrlich@vshn.ch>
2019-05-22 12:22:26 -07:00