New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCPBUGS-18707: [bot] Bump openshift/prometheus-operator to v0.69.0 #255
OCPBUGS-18707: [bot] Bump openshift/prometheus-operator to v0.69.0 #255
Commits on Sep 8, 2023
-
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Commits on Sep 11, 2023
-
Merge pull request prometheus-operator#5901 from simonpasquier/update…
…-go-1-21 chore: update to Go 1.21
-
alertmanager: add missing types (prometheus-operator#5876)
* alertmanager: add missing types alertmanager v0.26 introduced some new types in receiver configuration Fixes prometheus-operator#5857 * pkg/alertmanager: add BotTokenFile to telegramConfig alertmanager v0.26 introduced some new types in receiver configuration * pkg/alertmanager: add input sanitize and unit test add input sanitize and unit test for new alertmanager types Telegram: bot_token_file Webhook: url_file Pushover: user_key_file and token_file fix: prometheus-operator#5857 * fix format * pkg/alertmanger: remove changes for telegram bot_toke_file The telegram bot_token_file is already handle in prometheus-operator#5882 * pkg/alertmanager: revert name change in telegramconfig --------- Co-authored-by: Hendrik Ferber <ferber@synyx.de>
Commits on Sep 12, 2023
-
The `--as` argument allows to run the operator while impersonating a different user. It's useful to run the operator outside of the cluster as a service account instead of `kubeadmin`. Signed-off-by: Simon Pasquier <spasquie@redhat.com>
-
build(deps): bump docker/login-action from 2 to 3 (prometheus-operato…
…r#5907) Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](docker/login-action@v2...v3) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Commits on Sep 13, 2023
-
Merge pull request prometheus-operator#5906 from simonpasquier/impers…
…onate-user feat: add `--as` CLI argument
-
enhancement: Replace UpdateStatus() for ApplyStatus() to avoid inform…
…er errors (prometheus-operator#5883) --------- Signed-off-by: Mario Fernandez <mariofer@redhat.com> Co-authored-by: Simon Pasquier <spasquie@redhat.com>
-
Signed-off-by: Mario Fernandez <mariofer@redhat.com>
-
Merge pull request prometheus-operator#5911 from marioferh/remove_dup…
…licate_line Remove typo duplicate line
-
chore: refactor CRD and RBAC checks
This change is a pre-requisite for prometheus-operator#5898. Signed-off-by: Simon Pasquier <spasquie@redhat.com>
-
Merge pull request prometheus-operator#5910 from simonpasquier/refact…
…or-crd-checks chore: refactor CRD and RBAC checks
-
Commits on Sep 14, 2023
-
Merge pull request prometheus-operator#5915 from lionelnicolas/bugfix…
…/objec-typo Fix objec --> object typo
-
replace UpdateStatus() for ApplyStatus ThanosRuler (prometheus-opera…
…tor#5913) Signed-off-by: Mario Fernandez <mariofer@redhat.com>
Commits on Sep 18, 2023
-
replace UpdateStatus() for ApplyStatus Prometheus (prometheus-operato…
…r#5912) Signed-off-by: Mario Fernandez <mariofer@redhat.com>
Commits on Sep 19, 2023
-
build(deps): bump gotest.tools/v3 from 3.5.0 to 3.5.1
Bumps [gotest.tools/v3](https://github.com/gotestyourself/gotest.tools) from 3.5.0 to 3.5.1. - [Release notes](https://github.com/gotestyourself/gotest.tools/releases) - [Commits](gotestyourself/gotest.tools@v3.5.0...v3.5.1) --- updated-dependencies: - dependency-name: gotest.tools/v3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
build(deps): bump sigs.k8s.io/controller-runtime from 0.16.1 to 0.16.2
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.16.1 to 0.16.2. - [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases) - [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md) - [Commits](kubernetes-sigs/controller-runtime@v0.16.1...v0.16.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>
-
build(deps): bump github.com/brancz/kube-rbac-proxy
Bumps [github.com/brancz/kube-rbac-proxy](https://github.com/brancz/kube-rbac-proxy) from 0.14.2 to 0.14.3. - [Release notes](https://github.com/brancz/kube-rbac-proxy/releases) - [Changelog](https://github.com/brancz/kube-rbac-proxy/blob/master/CHANGELOG.md) - [Commits](brancz/kube-rbac-proxy@v0.14.2...v0.14.3) --- updated-dependencies: - dependency-name: github.com/brancz/kube-rbac-proxy dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
Merge pull request prometheus-operator#5921 from prometheus-operator/…
…dependabot/go_modules/gotest.tools/v3-3.5.1 build(deps): bump gotest.tools/v3 from 3.5.0 to 3.5.1
-
Merge pull request prometheus-operator#5922 from prometheus-operator/…
…dependabot/go_modules/sigs.k8s.io/controller-runtime-0.16.2 build(deps): bump sigs.k8s.io/controller-runtime from 0.16.1 to 0.16.2
-
Merge pull request prometheus-operator#5923 from prometheus-operator/…
…dependabot/go_modules/github.com/brancz/kube-rbac-proxy-0.14.3 build(deps): bump github.com/brancz/kube-rbac-proxy from 0.14.2 to 0.14.3
-
build(deps): bump github.com/evanphx/json-patch/v5 from 5.6.0 to 5.7.0
Bumps [github.com/evanphx/json-patch/v5](https://github.com/evanphx/json-patch) from 5.6.0 to 5.7.0. - [Release notes](https://github.com/evanphx/json-patch/releases) - [Commits](evanphx/json-patch@v5.6.0...v5.7.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>
-
Merge pull request prometheus-operator#5924 from prometheus-operator/…
…dependabot/go_modules/github.com/evanphx/json-patch/v5-5.7.0 build(deps): bump github.com/evanphx/json-patch/v5 from 5.6.0 to 5.7.0
Commits on Sep 20, 2023
-
build(deps): bump github.com/thanos-io/thanos from 0.32.2 to 0.32.3
Bumps [github.com/thanos-io/thanos](https://github.com/thanos-io/thanos) from 0.32.2 to 0.32.3. - [Release notes](https://github.com/thanos-io/thanos/releases) - [Changelog](https://github.com/thanos-io/thanos/blob/main/CHANGELOG.md) - [Commits](thanos-io/thanos@v0.32.2...v0.32.3) --- 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>
-
Merge pull request prometheus-operator#5927 from prometheus-operator/…
…dependabot/go_modules/github.com/thanos-io/thanos-0.32.3 build(deps): bump github.com/thanos-io/thanos from 0.32.2 to 0.32.3
-
-
Merge pull request prometheus-operator#5929 from Nyuno/fix-readme-typo
docs: fix very simple typo
-
Checkout branch ref on Dependabot workflows (prometheus-operator#5887)
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
-
feat: add EC2 service discovery support in ScrapeConfig (prometheus-o…
…perator#5902) Fixes prometheus-operator#5818 Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
Commits on Sep 21, 2023
-
fix: reconcile on namespace changes
When the operator was configured to select only a limited number of namespaces, it would not watch for namespace changes. It means that the operator may not reconcile when a namespace label is added/removed (affecting which objects should be selected or not). This change enables the operator to use a privileged namespace lister/watcher whenever the service account has the needed permissions. **IMPORTANT:** it also requires Kubernetes >= 1.22 to be effective but the operator will degrade to the suboptimal implementation without watch if this condition isn't met. Closes prometheus-operator#3847 Signed-off-by: Simon Pasquier <spasquie@redhat.com>
-
fix: get IMPERSONATE_USER from current environment
This change allows to run the operator locally as a different user: ``` export IMPERSONATE_USER=system:serviceaccount:default:system ./run/run-external.sh -c ``` Signed-off-by: Simon Pasquier <spasquie@redhat.com>
-
Merge pull request prometheus-operator#5898 from simonpasquier/improv…
…e-ns-listerwatcher fix: reconcile on namespace changes
-
fix: detect changes without list/watch perms on namespaces
This change implements a poll-based namespace lister/watcher when the operator's service account isn't granted the list & watch permissions on all namespaces. Instead of sending a watch request, the controller will get every configured namespace every 15 seconds and sends the expected watch events when a namespace is added/updated/deleted. It still requires the service account to be granted the get permission on the configured namespaces. Closes prometheus-operator#3847 Signed-off-by: Simon Pasquier <spasquie@redhat.com>
-
chore: use leveled log instead of fmt.Fprint()
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
-
Add controller-id proposal (prometheus-operator#5919)
This PR adds a new proposal for PO regarding the usage of `controller-id` for handling several instances in different namespaces or rogue Prometheus' CRD usage. Signed-off-by: Daniel Mellado <dmellado@redhat.com>
-
Merge pull request prometheus-operator#5934 from simonpasquier/fix-3847
fix: detect changes without list/watch perms on namespaces
-
Merge pull request prometheus-operator#5933 from simonpasquier/fix-ru…
…n-external-script fix: get IMPERSONATE_USER from current environment
Commits on Sep 22, 2023
-
prometheus: Add AzureAD for remote write
Fixes: prometheus-operator#5783 Signed-off-by: Wen Long <heylongdacoder@gmail.com>
-
Merge pull request prometheus-operator#5935 from simonpasquier/remote…
…-fprintf-to-stderr chore: use leveled log instead of fmt.Fprint()
-
fix: Update consul validate func
If secret reference is nil it will cause operator to crash, hence updating the validate function for consul sd configs to check for secret only if provided in config. Fixes prometheus-operator#5936 Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
-
If secret reference is nil it will cause operator to crash, hence updating the validate function for ec2 sd config to check for secret only if provided in config. Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
-
Merge pull request prometheus-operator#5937 from slashpai/fix-sc
fix: Update consul validate func
-
Merge pull request prometheus-operator#5938 from slashpai/ec2-fix
fix: Update ec2 validate func
-
Fix prometheus upgrade tests (prometheus-operator#5926)
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
-
Merge pull request prometheus-operator#5852 from heylongdacoder/issue…
…-5783 prometheus: Add AzureAD for remote write
Commits on Sep 25, 2023
-
add: scrapeConfigSelector check
Signed-off-by: nidhey27 <nidhey.indurkar@infracloud.io>
nidhey27 committedSep 25, 2023 -
Merge pull request prometheus-operator#5941 from infracloudio/issue-5928
add: scrapeConfigSelector check
-
Check if operator has access to storageclass | Add logic to verify if…
… storageclass exist | Add e2e test for invalid storageclass | RBAC to access storageclass Signed-off-by: Chirayu Kapoor <chirayu.kapoor@suse.com>
-
Merge pull request prometheus-operator#5792 from infracloudio/check-s…
…torageclassname Fixes prometheus-operator#4108 | Add logic to check if provided storage class exist
Commits on Sep 26, 2023
-
Fixing prometheus-operator#5338 | Added labels in the Dockerfile
Signed-off-by: Chirayu Kapoor <chirayu.kapoor@suse.com>
-
Merge pull request prometheus-operator#5946 from infracloudio/oci-labels
Fixing prometheus-operator#5338 | Add OCI labels in the Dockerfile
-
fix: add --cluster.label to alertmanager arg
If multiple Alertmanager clusters are deployed on the same cluster, it can happen that because pod IP addresses are recycled, an Alertmanager instance from cluster B connects with cluster A. --cluster.label flag was introduced in alertmanager v0.26, this helps to block any traffic that is not meant for the cluster. The value is hardcoded and the value is guaranteed to be unique in a given cluster but if there's a use case, we can consider a new field in the CRD. This commit sets default --cluster.label flag as namespace/name when Alertmanager version used is >= v0.26 Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
-
Merge pull request prometheus-operator#5945 from slashpai/am_clusterl…
…abel fix: add --cluster.label to alertmanager
Commits on Sep 27, 2023
-
chore: don't close doc issues (prometheus-operator#5943)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Commits on Sep 28, 2023
-
build(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.16.0 to 1.17.0. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/v1.17.0/CHANGELOG.md) - [Commits](prometheus/client_golang@v1.16.0...v1.17.0) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
Merge pull request prometheus-operator#5951 from prometheus-operator/…
…dependabot/go_modules/github.com/prometheus/client_golang-1.17.0 build(deps): bump github.com/prometheus/client_golang from 1.16.0 to 1.17.0
Commits on Sep 30, 2023
-
Enable depguard linter against github.com/pkg/errors (prometheus-oper…
…ator#5930) * Enable depguard linter against github.com/pkg/errors Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com> * Replace errors in pkg/{admission,alertmanager} Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com> --------- Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
Commits on Oct 2, 2023
-
build(deps): bump github.com/thanos-io/thanos from 0.32.3 to 0.32.4
Bumps [github.com/thanos-io/thanos](https://github.com/thanos-io/thanos) from 0.32.3 to 0.32.4. - [Release notes](https://github.com/thanos-io/thanos/releases) - [Changelog](https://github.com/thanos-io/thanos/blob/main/CHANGELOG.md) - [Commits](thanos-io/thanos@v0.32.3...v0.32.4) --- 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>
-
Merge pull request prometheus-operator#5953 from prometheus-operator/…
…dependabot/go_modules/github.com/thanos-io/thanos-0.32.4 build(deps): bump github.com/thanos-io/thanos from 0.32.3 to 0.32.4
-
docs: fix typo 'cluster' -> 'pod' (prometheus-operator#5952)
* docs: fix typo 'cluster' -> 'pod' * Adapt code review phrasing suggestion
-
fixes race condition when deleting alertmanager or prometheus instanc…
…es (prometheus-operator#5954) * adopts fix also for agent and thanos and makes use of DeletionInProgress()
Commits on Oct 3, 2023
-
[CHORE] finishing prometheus pkg golden files
Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com>
-
Merge pull request prometheus-operator#5956 from nicolastakashi/chore…
…/finishing-prometheus-pkg-goldenfiles [CHORE] finishing prometheus pkg golden files
-
docs: improve alertmanagerConfig description (prometheus-operator#5955)
--------- Signed-off-by: Mario Fernandez <mariofer@redhat.com>
Commits on Oct 4, 2023
Commits on Oct 5, 2023
Commits on Oct 6, 2023
-
Enable depguard in more packages (prometheus-operator#5969)
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
-
feat: support
user_key_file
andtoken_file
to the pushover (prome……theus-operator#5886) * dongjiang, add the user_key_file and token_file keys to the pushover config. Signed-off-by: dongjiang1989 <dongjiang1989@126.com> * add PushoverConfig Sanitize Signed-off-by: dongjiang1989 <dongjiang1989@126.com> * add PushoverConfig Sanitize Signed-off-by: dongjiang1989 <dongjiang1989@126.com> * dongjiang, update by code review Signed-off-by: dongjiang1989 <dongjiang1989@126.com> * fix unittest case Signed-off-by: dongjiang1989 <dongjiang1989@126.com> * update unittest case Signed-off-by: dongjiang1989 <dongjiang1989@126.com> * Update pkg/alertmanager/amcfg_test.go fix misspell Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com> * Update pkg/alertmanager/validation/v1beta1/validation_test.go fix misspell Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com> * update code review case Signed-off-by: dongjiang1989 <dongjiang1989@126.com> * add tabale unittest Signed-off-by: dongjiang1989 <dongjiang1989@126.com> * Update pkg/alertmanager/amcfg_test.go Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com> * Update pkg/alertmanager/amcfg_test.go Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com> * Update pkg/alertmanager/amcfg_test.go Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com> * Update pkg/alertmanager/amcfg_test.go Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com> * Update pkg/alertmanager/amcfg_test.go Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com> * add unittest case by code review Signed-off-by: dongjiang1989 <dongjiang1989@126.com> * Update pkg/alertmanager/amcfg_test.go Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com> * Update pkg/alertmanager/amcfg_test.go Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com> * fix golint Signed-off-by: dongjiang1989 <dongjiang1989@126.com> --------- Signed-off-by: dongjiang1989 <dongjiang1989@126.com> Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
Commits on Oct 7, 2023
Commits on Oct 8, 2023
Commits on Oct 9, 2023
-
fix: set verbosity log level only for debug
client-go functions can avoid costly logging evaluations by using this pattern: ``` if klog.V(2).Enabled() { klog.Info("log this") } ``` With this change, the klog verbosity is set to zero (except at debug log level where it is 6) to ensure that the performance optimization is preserved. Signed-off-by: Simon Pasquier <spasquie@redhat.com>
-
test(e2e-alertmanager): add alertmanager e2e test
Added a e2e test for alertmanager field "AlertmanagerConfigMatcherStrategy" Fixes prometheus-operator#5705 Signed-off-by: Patrick Niederlöhner <16616161+Pati93@users.noreply.github.com>
-
change: consider nil optional to be false for additional configs
Additional scrape, Alertmanager and alert relabeling configurations which are references to secret keys can be declared as optional. If the optional bool pointer is nil, the operator should consider that the reference isn't optional. It used to be the case before prometheus-operator#5720 but the logic was inverted by accident. Signed-off-by: Simon Pasquier <spasquie@redhat.com>
-
Merge pull request prometheus-operator#5979 from xiu/xiu_affiliation
docs: Update xiu's affiliation
-
chore: add Simon as 0.69 shepherd
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
-
Merge pull request prometheus-operator#5986 from simonpasquier/signup…
…-for-0.69 chore: add Simon as 0.69 shepherd
-
Enable depguard in prometheus pkg (prometheus-operator#5973)
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
-
Enable depguard in more packages
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
Commits on Oct 10, 2023
-
Merge pull request prometheus-operator#5981 from simonpasquier/fix-kl…
…og-max-level fix: set verbosity log level only for debug
-
Merge pull request prometheus-operator#5985 from simonpasquier/simpli…
…fy-secret-key-refs change: consider nil optional to be false for additional configs
-
fix: use metadata informer for agent controller
The Prometheus agent controller didn't use the metadata informer for secrets and configmaps as implemented in prometheus-operator#5424 and prometheus-operator#5448 for the other controllers. Signed-off-by: Simon Pasquier <spasquie@redhat.com>
-
Merge pull request prometheus-operator#5984 from prometheus-operator/…
…depguard2 Enable depguard in more packages
-
Merge pull request prometheus-operator#5982 from simonpasquier/use-me…
…tadata-informers-for-agent fix: use metadata informer for agent controller
-
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
Commits on Oct 11, 2023
-
build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 in /scripts
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.17.0. - [Commits](golang/net@v0.10.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
-
Merge pull request prometheus-operator#5994 from prometheus-operator/…
…dependabot/go_modules/scripts/golang.org/x/net-0.17.0 build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 in /scripts
-
build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0. - [Commits](golang/net@v0.15.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Commits on Oct 12, 2023
-
Merge pull request prometheus-operator#5995 from prometheus-operator/…
…dependabot/go_modules/golang.org/x/net-0.17.0 build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0
-
build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 in /pkg/client
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0. - [Commits](golang/net@v0.15.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
-
build(deps): bump golang.org/x/net in /pkg/apis/monitoring
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0. - [Commits](golang/net@v0.15.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
-
update Prometheus version to v2.47.1
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
-
Merge pull request prometheus-operator#5996 from prometheus-operator/…
…dependabot/go_modules/pkg/client/golang.org/x/net-0.17.0 build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 in /pkg/client
-
Merge pull request prometheus-operator#5997 from prometheus-operator/…
…dependabot/go_modules/pkg/apis/monitoring/golang.org/x/net-0.17.0 build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 in /pkg/apis/monitoring
-
Merge pull request prometheus-operator#5999 from kubeservice-stack/up…
…date-promtheus-v2.47.1 chore: update Prometheus version to v2.47.1
Commits on Oct 13, 2023
-
Merge pull request prometheus-operator#5990 from prometheus-operator/…
…depguard Enable depguard in e2e tests
-
Merge pull request prometheus-operator#5983 from Pati93/test-alertman…
…ager-config-matcher-strategy-field test(e2e-alertmanager): add alertmanager e2e test
-
chore: fix e2e tests compilation
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
-
Merge pull request prometheus-operator#6005 from simonpasquier/fix-tests
chore: fix e2e tests compilation
Commits on Oct 15, 2023
-
fix: do not strip essential fields (prometheus-operator#6008)
Avoid stripping away the "description" field that collided with kubebuilder's appended "description" metadata field while generating the CRD schema. Fixes: prometheus-operator#5129 Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Commits on Oct 16, 2023
-
chore: add e2e test for config reloader resources
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Commits on Oct 17, 2023
-
fix: reconcile reloader when resources are updated
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
-
chore: bump k8s dependencies to 0.28.2
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
-
chore: bump Thanos and Prometheus versions
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
-
Merge pull request prometheus-operator#6014 from simonpasquier/bump-k…
…8s-1.28.2 chore: bump k8s dependencies to 0.28.2
-
Merge pull request prometheus-operator#6015 from simonpasquier/update…
…-components chore: bump Thanos and Prometheus versions
Commits on Oct 18, 2023
-
build(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.3.0 to 0.4.0. - [Commits](golang/sync@v0.3.0...v0.4.0) --- updated-dependencies: - dependency-name: golang.org/x/sync dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
build(deps): bump github.com/brancz/kube-rbac-proxy
Bumps [github.com/brancz/kube-rbac-proxy](https://github.com/brancz/kube-rbac-proxy) from 0.14.3 to 0.14.4. - [Release notes](https://github.com/brancz/kube-rbac-proxy/releases) - [Changelog](https://github.com/brancz/kube-rbac-proxy/blob/master/CHANGELOG.md) - [Commits](brancz/kube-rbac-proxy@v0.14.3...v0.14.4) --- updated-dependencies: - dependency-name: github.com/brancz/kube-rbac-proxy dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.9 to 0.6.0. - [Release notes](https://github.com/google/go-cmp/releases) - [Commits](google/go-cmp@v0.5.9...v0.6.0) --- updated-dependencies: - dependency-name: github.com/google/go-cmp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
build(deps): bump github.com/prometheus/common from 0.44.0 to 0.45.0
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.44.0 to 0.45.0. - [Release notes](https://github.com/prometheus/common/releases) - [Commits](prometheus/common@v0.44.0...v0.45.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>
-
Merge pull request prometheus-operator#6019 from prometheus-operator/…
…dependabot/go_modules/golang.org/x/sync-0.4.0 build(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0
-
Merge pull request prometheus-operator#6020 from prometheus-operator/…
…dependabot/go_modules/github.com/brancz/kube-rbac-proxy-0.14.4 build(deps): bump github.com/brancz/kube-rbac-proxy from 0.14.3 to 0.14.4
-
Merge pull request prometheus-operator#6021 from prometheus-operator/…
…dependabot/go_modules/github.com/google/go-cmp-0.6.0 build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0
-
Merge pull request prometheus-operator#6022 from prometheus-operator/…
…dependabot/go_modules/github.com/prometheus/common-0.45.0 build(deps): bump github.com/prometheus/common from 0.44.0 to 0.45.0
-
change: drop deprecated metrics
Drop deprecated metrics, namely: * prometheus_operator_rule_validation_triggered_total * prometheus_operator_rule_validation_errors_total * prometheus_operator_alertmanager_config_validation_triggered_total * prometheus_operator_alertmanager_config_validation_errors_total Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Commits on Oct 19, 2023
-
build(deps): bump github.com/thanos-io/thanos from 0.32.4 to 0.32.5
Bumps [github.com/thanos-io/thanos](https://github.com/thanos-io/thanos) from 0.32.4 to 0.32.5. - [Release notes](https://github.com/thanos-io/thanos/releases) - [Changelog](https://github.com/thanos-io/thanos/blob/main/CHANGELOG.md) - [Commits](thanos-io/thanos@v0.32.4...v0.32.5) --- 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>
-
Merge pull request prometheus-operator#6026 from prometheus-operator/…
…dependabot/go_modules/github.com/thanos-io/thanos-0.32.5 build(deps): bump github.com/thanos-io/thanos from 0.32.4 to 0.32.5
-
fix: disable HTTP2 connections by default
This change mitigates CVE-2023-44487 by disabling HTTP2 by default and forcing HTTP/1.1 until the Go standard library and golang.org/x/net are fully fixed. Right now, it is possible for authenticated and unauthenticated users to hold open HTTP2 connections and consume huge amounts of memory. It is possible to revert back the change by using the `--web.enable-http2` argument. Before this change: ``` curl -kv https://localhost:8443/metrics * Trying 127.0.0.1:8443... * Connected to localhost (127.0.0.1) port 8443 (#0) * ALPN: offers h2,http/1.1 [...] * ALPN: server accepted h2 [...] * using HTTP/2 * h2h3 [:method: GET] * h2h3 [:path: /metrics] * h2h3 [:scheme: https] * h2h3 [:authority: localhost:8443] * h2h3 [user-agent: curl/8.0.1] * h2h3 [accept: */*] * Using Stream ID: 1 (easy handle 0x5594d4614b10) [...] > GET /metrics HTTP/2 [...] ``` After this change: ``` curl -kv https://localhost:8443/metrics * Trying 127.0.0.1:8443... * Connected to localhost (127.0.0.1) port 8443 (#0) * ALPN: offers h2,http/1.1 [...] * ALPN: server accepted http/1.1 [...] * using HTTP/1.1 > GET /metrics HTTP/1.1 > Host: localhost:8443 > User-Agent: curl/8.0.1 > Accept: */* [...] < HTTP/1.1 200 OK [...] ``` See also: * kubernetes/kubernetes#121120 * kubernetes/kubernetes#121197 * golang/go#63417 (comment) Signed-off-by: Simon Pasquier <spasquie@redhat.com>
-
Merge pull request prometheus-operator#6024 from rexagod/5681-1
change: drop deprecated metrics
-
chore: bump k8s dependencies to 0.28.3
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
-
Merge pull request prometheus-operator#6029 from simonpasquier/bump-k…
…8s-0.28.3 chore: bump k8s dependencies to 0.28.3
Commits on Oct 20, 2023
-
Merge pull request prometheus-operator#5971 from simonpasquier/fix-5970
fix: update reloader requests and limits when updated
-
build(deps): bump github.com/brancz/kube-rbac-proxy
Bumps [github.com/brancz/kube-rbac-proxy](https://github.com/brancz/kube-rbac-proxy) from 0.14.4 to 0.15.0. - [Release notes](https://github.com/brancz/kube-rbac-proxy/releases) - [Changelog](https://github.com/brancz/kube-rbac-proxy/blob/master/CHANGELOG.md) - [Commits](brancz/kube-rbac-proxy@v0.14.4...v0.15.0) --- updated-dependencies: - dependency-name: github.com/brancz/kube-rbac-proxy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
Merge pull request prometheus-operator#6034 from prometheus-operator/…
…dependabot/go_modules/github.com/brancz/kube-rbac-proxy-0.15.0 build(deps): bump github.com/brancz/kube-rbac-proxy from 0.14.4 to 0.15.0
Commits on Oct 22, 2023
-
feat: add support for RoleARN and Filters in EC2SDConfigs (prometheus…
…-operator#6012) Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
Commits on Oct 23, 2023
-
docs: Add node to auth mode when running minikube e2e tests
Seems to be necessary for it to work. kubernetes/minikube#6061
-
feat: adding alertmanager msteams support (prometheus-operator#6002)
* feat: adding alertmanager msteams support Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com> Co-Authored-By: ksdpmx
Commits on Oct 24, 2023
-
prometheus: Add AWS sigv4 auth to Alertmanager endpoints
Fixes: prometheus-operator#6033 Signed-off-by: Wen Long <heylongdacoder@gmail.com>
Commits on Oct 25, 2023
-
build(deps): bump sigs.k8s.io/yaml from 1.3.0 to 1.4.0
Bumps [sigs.k8s.io/yaml](https://github.com/kubernetes-sigs/yaml) from 1.3.0 to 1.4.0. - [Release notes](https://github.com/kubernetes-sigs/yaml/releases) - [Changelog](https://github.com/kubernetes-sigs/yaml/blob/master/RELEASE.md) - [Commits](kubernetes-sigs/yaml@v1.3.0...v1.4.0) --- updated-dependencies: - dependency-name: sigs.k8s.io/yaml dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
Merge pull request prometheus-operator#6040 from prometheus-operator/…
…dependabot/go_modules/sigs.k8s.io/yaml-1.4.0 build(deps): bump sigs.k8s.io/yaml from 1.3.0 to 1.4.0
-
Replace deprecated package github.com/docker/distribution/reference
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
-
Enable depguard in tests/framework/framework.go
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
-
Enable depguard in more test framework files
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
Commits on Oct 30, 2023
-
Merge pull request prometheus-operator#6028 from simonpasquier/disabl…
…e-http2 fix: disable HTTP2 connections by default
Commits on Oct 31, 2023
-
Merge pull request prometheus-operator#6036 from heylongdacoder/issue…
…-6033 prometheus: Add AWS sigv4 auth to Alertmanager endpoints
-
Merge pull request prometheus-operator#6042 from prometheus-operator/…
…bump-docker-distribution Replace deprecated package github.com/docker/distribution/reference
-
Merge pull request prometheus-operator#6043 from prometheus-operator/…
…depguard Enable depguard in more test files
-
Merge pull request prometheus-operator#6039 from adinhodovic/add-node…
…-to-minikube-docs docs: Add node to auth mode when running minikube e2e tests
-
enhancement: include operator version in CRD annotations (prometheus-…
…operator#6050) * *: include operator version in CRD annotations Signed-off-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl> * example,jsonnet: regenerate Signed-off-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl> * fixup! example,jsonnet: regenerate --------- Signed-off-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl> Co-authored-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl>
Commits on Nov 3, 2023
-
feat: support Selectors field in kubernetes SD
Related-to prometheus-operator#5711 Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
-
Merge pull request prometheus-operator#6053 from slashpai/node-discovery
feat: support Selectors field in kubernetes SD
-
feat: Add
--web-config-file
flag to the config reloader (prometheus……-operator#6011) --------- Signed-off-by: dongjiang1989 <dongjiang1989@126.com> Co-authored-by: Simon Pasquier <spasquie@redhat.com>
-
docs: overriding behavior for common labels (prometheus-operator#5699)
* docs: overriding behavior for common labels Document overriding behavior for common labels in, * alertmanager, * prometheus, and, * thanos-ruler. Signed-off-by: Pranshu Srivastava <rexagod@gmail.com> * Regenerate Documentation/api/md Signed-off-by: Simon Pasquier <spasquie@redhat.com> --------- Signed-off-by: Pranshu Srivastava <rexagod@gmail.com> Signed-off-by: Simon Pasquier <spasquie@redhat.com> Co-authored-by: Simon Pasquier <spasquie@redhat.com>
-
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Commits on Nov 6, 2023
-
fix: remove verbose logging admission-webhook
After disabling HTTP2 connections by default in prometheus-operator#6028 started seeing verbose logging in admission webhook pods like: `ts=2023-11-06T01:50:34.601774794Z caller=stdlib.go:105 caller=server.go:3215 msg="http: superfluous response.WriteHeader call from main.newSrv.func1 (main.go:173)" ` Go doc says If WriteHeader is not called explicitly, the first call to Write will trigger an implicit WriteHeader(http.StatusOK). This fix is to change the order of the method invocation so log doesn't complain about this Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
-
Merge pull request prometheus-operator#6064 from slashpai/webhookfix
fix: remove verbose logging admission-webhook
-
Merge pull request prometheus-operator#6062 from simonpasquier/cut-v0…
….69.0 chore: cut v0.69.0
-
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>