1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 06:45:27 +01:00
Commit Graph

6388 Commits

Author SHA1 Message Date
Jayapriya Pai
2d07a44166 fix: update kubernetes slack link
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2024-02-26 17:16:39 +05:30
Nicolas Takashi
a70f1945b9 feat: adding scrape class (#6199)
* feat: adding scrape class

Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com>

* Update pkg/apis/monitoring/v1/prometheus_types.go

Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>

* Update pkg/prometheus/promcfg.go

Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>

* Update pkg/prometheus/store.go

Co-authored-by: Simon Pasquier <spasquie@redhat.com>

* Update pkg/prometheus/resource_selector.go

Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>

* Update pkg/prometheus/store.go

Co-authored-by: Simon Pasquier <spasquie@redhat.com>

* Update pkg/prometheus/resource_selector.go

Co-authored-by: Simon Pasquier <spasquie@redhat.com>

* Update pkg/prometheus/resource_selector.go

Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>

* Update pkg/prometheus/promcfg.go

Co-authored-by: Simon Pasquier <spasquie@redhat.com>

* Update pkg/prometheus/promcfg.go

Co-authored-by: Simon Pasquier <spasquie@redhat.com>

* Update pkg/prometheus/server/operator.go

Co-authored-by: Simon Pasquier <spasquie@redhat.com>

* Update pkg/prometheus/promcfg.go

Co-authored-by: Simon Pasquier <spasquie@redhat.com>

* Update prometheus_types.go

Co-authored-by: Simon Pasquier <spasquie@redhat.com>

---------

Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com>
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2024-02-23 15:15:16 -03:00
Nicolas Takashi
aedd090194 Merge pull request #6323 from prometheus-operator/update-prom-version
Update Default Prometheus version
2024-02-22 15:26:42 +00:00
Arthur Silva Sens
eae776335b Update Default Prometheus version
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
2024-02-22 11:17:03 -03:00
Arthur Silva Sens
eeb84d1d09 Update default Thanos version (#6317)
* Update default Thanos version

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>

* Update unit tests depending on DefaultThanosVersion

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>

---------

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
2024-02-22 10:20:55 -03:00
github-actions[bot]
b772f539b6 Merge pull request #6322 from prometheus-operator/dependabot/go_modules/github.com/prometheus/prometheus-0.50.0
build(deps): bump github.com/prometheus/prometheus from 0.49.1 to 0.50.0
2024-02-22 13:07:31 +00:00
dependabot[bot]
c4583ce906 build(deps): bump github.com/prometheus/prometheus from 0.49.1 to 0.50.0
Bumps [github.com/prometheus/prometheus](https://github.com/prometheus/prometheus) from 0.49.1 to 0.50.0.
- [Release notes](https://github.com/prometheus/prometheus/releases)
- [Changelog](https://github.com/prometheus/prometheus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/prometheus/compare/v0.49.1...v0.50.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/prometheus
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-22 12:28:55 +00:00
Arthur Silva Sens
6e6f78fdf1 Update go dependencies before release (#6315)
* Update go dependencies before release

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>

* make generate

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>

---------

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
2024-02-21 11:10:04 -03:00
Jayapriya Pai
c493b12744 Merge pull request #6313 from simonpasquier/bump-v0.29.2 2024-02-18 17:51:08 +05:30
Simon Pasquier
00c607c603 chore: update Kubernetes to v1.29.2
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-02-16 14:25:39 +01:00
Simon Pasquier
8ee993a0db Merge pull request #6300 from prometheus-operator/dependabot/github_actions/golangci/golangci-lint-action-4.0.0
build(deps): bump golangci/golangci-lint-action from 3.7.1 to 4.0.0
2024-02-16 14:14:31 +01:00
github-actions[bot]
3828710b5c Merge pull request #6311 from prometheus-operator/dependabot/go_modules/github.com/prometheus/common-0.47.0
build(deps): bump github.com/prometheus/common from 0.46.0 to 0.47.0
2024-02-16 12:53:03 +00:00
github-actions[bot]
aa868a45c5 Merge pull request #6312 from prometheus-operator/dependabot/go_modules/sigs.k8s.io/controller-runtime-0.17.2
build(deps): bump sigs.k8s.io/controller-runtime from 0.17.1 to 0.17.2
2024-02-16 12:52:45 +00:00
dependabot[bot]
316c8232bd build(deps): bump sigs.k8s.io/controller-runtime from 0.17.1 to 0.17.2
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.17.1 to 0.17.2.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.17.1...v0.17.2)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-16 12:13:54 +00:00
dependabot[bot]
2ce2009ea0 build(deps): bump github.com/prometheus/common from 0.46.0 to 0.47.0
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.46.0 to 0.47.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.46.0...v0.47.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-16 12:13:47 +00:00
Simon Pasquier
bdfc5ec005 fix: don't fail metadata transform on unknown types (#6298)
* fix: don't fail metadata transform on unknown types

This change modifies the `PartialObjectMetadataStrip` function to return
the object unmodified if casting to `*v1.PartialObjectMetadata` fails.
When the informer processes a deleted object, its type can be
`cache.DeletedFinalStateUnknown`.

Co-authored-by: Ayoub Mrini <amrini@redhat.com>
Signed-off-by: Simon Pasquier <spasquie@redhat.com>

* test: add TestPartialObjectMetadataStripOnDeletedFinalStateUnknown

Co-authored-by: machine424 <ayoubmrini424@gmail.com>
Signed-off-by: Simon Pasquier <spasquie@redhat.com>

Signed-off-by: machine424 <ayoubmrini424@gmail.com>

---------

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
Co-authored-by: Ayoub Mrini <amrini@redhat.com>
Co-authored-by: machine424 <ayoubmrini424@gmail.com>
2024-02-14 08:22:25 +05:30
Simon Pasquier
7c9524285c Merge pull request #6297 from simonpasquier/update-smon-targetport-doc
fix: remove deprecation on service monitor's targetPort
2024-02-12 16:07:50 +01:00
github-actions[bot]
984b6e9697 Merge pull request #6299 from prometheus-operator/dependabot/github_actions/helm/kind-action-1.9.0
build(deps): bump helm/kind-action from 1.8.0 to 1.9.0
2024-02-12 12:55:53 +00:00
dependabot[bot]
dfaea70b25 build(deps): bump golangci/golangci-lint-action from 3.7.1 to 4.0.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.7.1 to 4.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.7.1...v4.0.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 12:19:45 +00:00
dependabot[bot]
b5f43b5c60 build(deps): bump helm/kind-action from 1.8.0 to 1.9.0
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](https://github.com/helm/kind-action/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 12:19:42 +00:00
github-actions[bot]
02b0ece96e Merge pull request #6296 from prometheus-operator/dependabot/go_modules/sigs.k8s.io/controller-runtime-0.17.1
build(deps): bump sigs.k8s.io/controller-runtime from 0.17.0 to 0.17.1
2024-02-09 13:05:27 +00:00
Simon Pasquier
f809399ac0 fix: remove deprecation on service monitor's targetPort
Closes #6269

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-02-09 13:56:45 +01:00
github-actions[bot]
0024788879 Merge pull request #6295 from prometheus-operator/dependabot/github_actions/golangci/golangci-lint-action-3.7.1
build(deps): bump golangci/golangci-lint-action from 3.7.0 to 3.7.1
2024-02-09 12:45:26 +00:00
dependabot[bot]
a07131407f build(deps): bump sigs.k8s.io/controller-runtime from 0.17.0 to 0.17.1
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.17.0 to 0.17.1.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.17.0...v0.17.1)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-09 12:27:02 +00:00
dependabot[bot]
6a2749adf3 build(deps): bump golangci/golangci-lint-action from 3.7.0 to 3.7.1
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.7.0...v3.7.1)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-09 12:06:05 +00:00
DeamonMV
c5098f5d05 feat: add version check for thanos. keep_firing_for now available (#6283) 2024-02-08 15:42:36 +01:00
Simon Pasquier
ca78f91dff Merge pull request #6293 from WarpBuilds/add-adopter-warpbuild
Adds WarpBuild to Adopters.md
2024-02-08 14:52:11 +01:00
github-actions[bot]
af5d97333a Merge pull request #6294 from prometheus-operator/dependabot/go_modules/golang.org/x/net-0.21.0
build(deps): bump golang.org/x/net from 0.20.0 to 0.21.0
2024-02-08 13:24:17 +00:00
dependabot[bot]
995b09e072 build(deps): bump golang.org/x/net from 0.20.0 to 0.21.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/net/compare/v0.20.0...v0.21.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 12:45:23 +00:00
Prajjwal
0d383740ca Update ADOPTERS.md 2024-02-08 17:50:08 +05:30
Prajjwal
1ef4e44bff Bracket change 2024-02-08 09:43:30 +05:30
Prajjwal
d4520edbd3 Adds Warpbuild 2024-02-08 09:43:00 +05:30
Simon Pasquier
312e8a5eb4 Merge pull request #6289 from kubeservice-stack/update-go-1-22
chore: update to Go 1.22
2024-02-07 10:57:23 +01:00
dongjiang1989
d6d883839d update go version 1.22
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-02-07 11:24:58 +08:00
Simon Pasquier
88faa69772 Merge pull request #6274 from simonpasquier/update-rw-tests
chore: update remote-write tests
2024-02-06 16:46:50 +01:00
Simon Pasquier
77b95c9f15 Merge pull request #6286 from simonpasquier/update-kind
chore: update Kind version to v0.21.0
2024-02-05 14:02:35 +01:00
Simon Pasquier
b79056b783 chore: update Kind version to v0.21.0
This commit also bumps the Kubernetes version to v1.29.1.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-02-05 11:22:33 +01:00
Simon Pasquier
2b9b4f5da4 Merge pull request #6282 from simonpasquier/fix-missing-continue-conversion
fix: convert `continue` field between v1alpha1 and v1beta1 AlertmanagerConfig versions
2024-02-02 14:00:59 +01:00
Jayapriya Pai
8f0897523b add slashpai to maintainers (#6280)
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2024-02-01 13:51:30 -03:00
Simon Pasquier
960bbecddb fix: convert continue field between v1beta1 and v1alpha1
This change converts the `continue` field between v1alpha1 and v1beta1
AlertmanagerConfig versions.

When a v1beta1 AlertmanagerConfig object was created with `continue:
true`, the `continue` field was always converted to `false` when stored
as v1alpha1.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-02-01 17:08:51 +01:00
Simon Pasquier
c3232b6db0 chore: add e2e test detecting the issue
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-02-01 14:33:22 +01:00
dongjiang
e0b26a167b feat: support added scrape_protocols to Pod/Service monitors (#6268)
* support scrape_protocols to podmonitor/servicemonitor

---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-01-31 10:04:31 +01:00
Simon Pasquier
3a013fbf5a chore: create monitors before Prometheus
It speeds up the tests since it doesn't have to wait for the updated
configuration to be propagated to Prometheus.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-01-31 09:52:43 +01:00
Simon Pasquier
f7a31740a6 chore: update remote-write tests
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-01-31 09:52:43 +01:00
github-actions[bot]
372b00558d Merge pull request #6271 from prometheus-operator/dependabot/go_modules/github.com/thanos-io/thanos-0.34.0
build(deps): bump github.com/thanos-io/thanos from 0.34.0-rc.1 to 0.34.0
2024-01-29 13:46:07 +00:00
github-actions[bot]
5a23408c3b Merge pull request #6273 from prometheus-operator/dependabot/go_modules/github.com/evanphx/json-patch/v5-5.9.0
build(deps): bump github.com/evanphx/json-patch/v5 from 5.8.1 to 5.9.0
2024-01-29 13:43:23 +00:00
github-actions[bot]
33aa1a75d4 Merge pull request #6272 from prometheus-operator/dependabot/go_modules/github.com/prometheus-community/prom-label-proxy-0.8.1
build(deps): bump github.com/prometheus-community/prom-label-proxy from 0.8.0 to 0.8.1
2024-01-29 13:42:51 +00:00
dependabot[bot]
d222739e30 build(deps): bump github.com/evanphx/json-patch/v5 from 5.8.1 to 5.9.0
Bumps [github.com/evanphx/json-patch/v5](https://github.com/evanphx/json-patch) from 5.8.1 to 5.9.0.
- [Release notes](https://github.com/evanphx/json-patch/releases)
- [Commits](https://github.com/evanphx/json-patch/compare/v5.8.1...v5.9.0)

---
updated-dependencies:
- dependency-name: github.com/evanphx/json-patch/v5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 12:56:47 +00:00
dependabot[bot]
7cfaca448d build(deps): bump github.com/prometheus-community/prom-label-proxy
Bumps [github.com/prometheus-community/prom-label-proxy](https://github.com/prometheus-community/prom-label-proxy) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/prometheus-community/prom-label-proxy/releases)
- [Changelog](https://github.com/prometheus-community/prom-label-proxy/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus-community/prom-label-proxy/compare/v0.8.0...v0.8.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus-community/prom-label-proxy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 12:56:41 +00:00
dependabot[bot]
a6cd8267fd build(deps): bump github.com/thanos-io/thanos from 0.34.0-rc.1 to 0.34.0
Bumps [github.com/thanos-io/thanos](https://github.com/thanos-io/thanos) from 0.34.0-rc.1 to 0.34.0.
- [Release notes](https://github.com/thanos-io/thanos/releases)
- [Changelog](https://github.com/thanos-io/thanos/blob/main/CHANGELOG.md)
- [Commits](https://github.com/thanos-io/thanos/compare/v0.34.0-rc.1...v0.34.0)

---
updated-dependencies:
- dependency-name: github.com/thanos-io/thanos
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 12:56:34 +00:00