Skip to content
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-24323: Bump openshift/prometheus-operator to v0.70.0 #263

Merged
merged 82 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
6a80971
build(deps): bump golang.org/x/sync from 0.4.0 to 0.5.0
dependabot[bot] Nov 6, 2023
ba53640
Merge pull request #6065 from prometheus-operator/dependabot/go_modul…
github-actions[bot] Nov 6, 2023
0d099b3
build(deps): bump golang.org/x/net from 0.17.0 to 0.18.0
dependabot[bot] Nov 9, 2023
5f1a151
Merge pull request #6072 from prometheus-operator/dependabot/go_modul…
github-actions[bot] Nov 9, 2023
0269b95
add flag to enable reloader probes
feniix Nov 10, 2023
fa22f77
Merge pull request #6075 from feniix/add-enable-reloader-probes
simonpasquier Nov 10, 2023
7950295
Merge pull request #6074 from prometheus-operator/release-0.69
simonpasquier Nov 10, 2023
7dfb900
chore: remove TLS files only on exit
simonpasquier Nov 13, 2023
ae2f8a9
docs: spelling mistake
wongearl Nov 14, 2023
b51d46e
Merge pull request #6084 from wongearl/docs/design
simonpasquier Nov 14, 2023
c0f9cef
feat: Add support for configuring STS persistentVolumeClaimRetentionP…
adinhodovic Nov 14, 2023
42df30a
chore: update tool versions in scripts/go.mod
simonpasquier Nov 14, 2023
313adcc
Merge pull request #6088 from simonpasquier/bump-tools
simonpasquier Nov 14, 2023
3930fad
[WIP] Change logs to `os.Stdout` (#6085)
perylemke Nov 14, 2023
399b6bd
feat: support remaining roles in kubernetesSD
slashpai Nov 14, 2023
b836d96
Merge pull request #6081 from simonpasquier/fix-run-external
simonpasquier Nov 14, 2023
e065e08
.github/workflows: skip unit and e2e tests for *.md file updates
slashpai Nov 15, 2023
2c67ca6
feat: optimize memory usage of secret/configmap informers
simonpasquier Oct 6, 2023
9b3edc3
Merge pull request #5988 from slashpai/actions_update
simonpasquier Nov 15, 2023
b1c1a03
Merge pull request #6089 from slashpai/kubesd
simonpasquier Nov 15, 2023
8033a10
feat: add support for Azure SD in ScrapeConfig CRD
slashpai Nov 13, 2023
0eaa3be
Merge pull request #5993 from simonpasquier/optimize-metadata-informers
simonpasquier Nov 16, 2023
85dcc94
Merge pull request #6078 from slashpai/azuresd
simonpasquier Nov 16, 2023
498f580
build(deps): bump github.com/prometheus/prometheus from 0.47.2 to 0.48.0
dependabot[bot] Nov 16, 2023
21731af
build(deps): bump github.com/alecthomas/kingpin/v2 from 2.3.2 to 2.4.0
dependabot[bot] Nov 16, 2023
9cc4fa6
Merge pull request #6092 from prometheus-operator/dependabot/go_modul…
github-actions[bot] Nov 16, 2023
89dae67
Merge pull request #6093 from prometheus-operator/dependabot/go_modul…
github-actions[bot] Nov 16, 2023
10a8a79
change: update json tags for ConsulSD configs
slashpai Nov 16, 2023
088792d
docs: update strategic merge patch documentation
slashpai Nov 14, 2023
5e9eed4
chore: reduce code duplication in components
simonpasquier Nov 15, 2023
7bf2457
Merge pull request #6090 from slashpai/doc_update
simonpasquier Nov 16, 2023
6624457
feat: add GCE SD support in ScrapeConfig CRD
slashpai Nov 16, 2023
9063247
Merge pull request #6094 from slashpai/consul_tag_update
simonpasquier Nov 16, 2023
259ea32
Merge pull request #6009 from slashpai/gce_sd
simonpasquier Nov 16, 2023
89c2ce9
chore: update ServiceMonitor documentation
simonpasquier Nov 16, 2023
01a7962
Update Office Hours Meetings
ArthurSens Nov 16, 2023
b6610bb
Merge pull request #6095 from simonpasquier/update-smon-api-doc
simonpasquier Nov 16, 2023
5c82459
fix(shards): Skip adding shard relabel rules automatically if already…
adinhodovic Nov 16, 2023
d8b4ed3
Merge pull request #6096 from prometheus-operator/update-office-hours
simonpasquier Nov 17, 2023
173aa81
chore: bump to Prometheus v2.48.0
simonpasquier Nov 17, 2023
28214a4
fix: convert consul scheme to lowercase while setting prometheus config
slashpai Nov 17, 2023
6b57315
Merge pull request #6099 from adinhodovic/skip-already-sharded-scrape…
simonpasquier Nov 17, 2023
3287e51
Merge pull request #6098 from slashpai/consul
simonpasquier Nov 17, 2023
7f22f69
feat: Add azuread oauth support to remote write
adinhodovic Oct 22, 2023
bc69406
Merge pull request #6097 from simonpasquier/prom-2.48
simonpasquier Nov 17, 2023
342b5e7
build(deps): bump k8s.io/apimachinery from 0.28.3 to 0.28.4
dependabot[bot] Nov 17, 2023
7e0ea8c
Merge pull request #6101 from prometheus-operator/dependabot/go_modul…
github-actions[bot] Nov 17, 2023
49630bd
chore: update PodMonitor documentation
simonpasquier Nov 17, 2023
b6b6e29
Merge pull request #6037 from adinhodovic/add-azuread-oauth
simonpasquier Nov 17, 2023
2d53c24
Merge pull request #6104 from simonpasquier/update-podmon-api-doc
simonpasquier Nov 17, 2023
0a2b023
Fully enable depguard (#6103)
ArthurSens Nov 17, 2023
27c3a8c
Remove depguard file filters
ArthurSens Nov 17, 2023
754b2e2
Merge pull request #6106 from prometheus-operator/depguard
simonpasquier Nov 20, 2023
5ff31da
fix: Check for nil in MS Teams config
adinhodovic Nov 14, 2023
05ea249
Merge pull request #6109 from adinhodovic/nil-check
simonpasquier Nov 20, 2023
712a2c1
feat: add track_timestamps_staleness limit to CRDs (#6105)
dongjiang1989 Nov 22, 2023
7b2da7f
chore: tidy up go.{mod,sum} files
simonpasquier Nov 23, 2023
065900b
Merge pull request #6114 from simonpasquier/fix-go-mod
simonpasquier Nov 23, 2023
e0f6a06
chore: bump k8s.io/client-go to v0.28.4
philipgough Nov 23, 2023
0adb2e1
Merge pull request #6116 from philipgough/kube-updates
simonpasquier Nov 24, 2023
a0a8209
build(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0
dependabot[bot] Nov 24, 2023
88eca6a
Merge pull request #6118 from prometheus-operator/dependabot/go_modul…
github-actions[bot] Nov 24, 2023
9e9a753
fix: handle duplicate sources (#6006)
rexagod Nov 24, 2023
74ed6e2
update documentation
dongjiang1989 Nov 27, 2023
34941af
Merge pull request #5964 from simonpasquier/rework-controller-configs
simonpasquier Nov 27, 2023
3513749
chore: create kubelet endpoints controller
simonpasquier Nov 16, 2023
bfccf62
Merge pull request #6120 from kubeservice-stack/doc-update
simonpasquier Nov 27, 2023
1ffc4fe
Pushover device support (#5479)
alec-pinson Nov 27, 2023
a143c8d
feat: enable config reload via signal
simonpasquier Jun 15, 2023
ffd2f20
Merge pull request #5690 from simonpasquier/reload-via-signal
simonpasquier Nov 27, 2023
1d00063
Merge pull request #6121 from simonpasquier/split-endpoints-controller
simonpasquier Nov 27, 2023
a036183
scrapeConfig: Change to camelCase on scrapeConfig
perylemke Nov 27, 2023
e2d5527
Merge pull request #6124 from perylemke/fix-scrapeconfig
simonpasquier Nov 27, 2023
e3fe536
build(deps): bump golang.org/x/net from 0.18.0 to 0.19.0
dependabot[bot] Nov 28, 2023
a3e501d
Merge pull request #6125 from prometheus-operator/dependabot/go_modul…
github-actions[bot] Nov 28, 2023
2fc4faf
Update stale workflow to close stale PRs (#6119)
ArthurSens Nov 28, 2023
c67c951
*: bump dependencies
paulfantom Nov 30, 2023
c2c673f
*: release 0.70
paulfantom Nov 30, 2023
26ce04b
Merge tag 'refs/tags/v0.70.0'
github-actions[bot] Dec 1, 2023
324a1fb
[bot] vendor: revendor
github-actions[bot] Dec 1, 2023
cab1651
CARRY: use "golang.org/x/exp/slices" package
simonpasquier Dec 1, 2023
ab3bbb5
CARRY: replace call to tls.VersionName()
simonpasquier Dec 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 7 additions & 1 deletion .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
go-version: '${{ env.golang-version }}'
check-latest: true
- run: make --always-make format generate && git diff --exit-code

check-docs:
runs-on: ubuntu-latest
name: Check Documentation formatting and links
Expand All @@ -38,6 +39,7 @@ jobs:
go-version: '${{ env.golang-version }}'
check-latest: true
- run: make check-docs

check-golang:
runs-on: ubuntu-latest
name: Golang linter
Expand All @@ -49,11 +51,14 @@ jobs:
with:
go-version: '${{ env.golang-version }}'
check-latest: true
- name: go.mod
run: make tidy && git diff --exit-code
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.7.0
with:
version: v1.53.1
version: v1.55.2
args: --timeout 10m0s

check-metrics:
runs-on: ubuntu-latest
name: Check prometheus metrics
Expand All @@ -66,6 +71,7 @@ jobs:
go-version: '${{ env.golang-version }}'
check-latest: true
- run: make check-metrics

build:
runs-on: ${{ matrix.os }}
strategy:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
name: e2e
on:
pull_request:
paths-ignore:
- '**/*.md'
push:
branches:
- 'release-*'
- 'master'
- 'main'
tags:
- 'v*'
paths-ignore:
- '**/*.md'
jobs:
e2e-tests:
name: E2E tests
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ jobs:
with:
stale-issue-message: 'This issue has been automatically marked as stale because it has not had any activity in the last 60 days. Thank you for your contributions.'
close-issue-message: 'This issue was closed because it has not had any activity in the last 120 days. Please reopen if you feel this is still valid.'
close-pr-message: "This pull request is being closed because it had no activity in the last 180 days. This is not a signal from the maintainers that the PR has no value. We appreciate the time and effort that you put into this work. If you're willing to re-open it, the maintainers will do their best to review it."
days-before-stale: 60
days-before-issue-close: 120
days-before-pr-close: -1 # Prevent closing PRs
days-before-pr-close: 180
exempt-issue-labels: 'kind/feature,help wanted,kind/bug,kind/documentation'
stale-issue-label: 'stale'
stale-pr-label: 'stale'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/unit.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
name: unit
on:
pull_request:
paths-ignore:
- '**/*.md'
push:
branches:
- 'release-*'
- 'master'
- 'main'
tags:
- 'v*'
paths-ignore:
- '**/*.md'
jobs:
unit-tests:
runs-on: ubuntu-latest
Expand Down
29 changes: 0 additions & 29 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,35 +28,6 @@ linters-settings:
depguard:
rules:
forbid-pkg-errors:
files:
- "**/admission/*.go"
- "**/alertmanager/*.go"
- "**/alertmanager/**/*.go"
- "**/apis/*.go"
- "**/apis/**/*.go"
- "**/assets/*.go"
- "**/client/*.go"
- "**/client/**/*.go"
- "**/informers/*.go"
- "**/k8sutil/*.go"
- "**/listwatch/*.go"
- "**/namespacelabeler/*.go"
- "**/operator/*.go"
- "**/prometheus/*.go"
- "**/prometheus/**/*.go"
- "**/server/*.go"
- "**/thanos/*.go"
- "**/versionutil/*.go"
- "**/webconfig/*.go"
- "**/e2e/*.go"
- "**/framework/admission_webhooks.go"
- "**/framework/alertmanager.go"
- "**/framework/cluster_role_binding.go"
- "**/framework/cluster_role.go"
- "**/framework/configmap.go"
- "**/framework/context.go"
- "**/framework/crd.go"
- "**/framework/framework.go"
deny:
- pkg: "github.com/pkg/errors"
dsc: Should be replaced with standard lib errors or fmt.Errorf
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
## 0.70.0 / 2023-11-30

* [CHANGE] Use camelCase on scrapeConfig in prometheus job names. #6124
* [CHANGE] Update field names for ConsulSD configs. #6094
* [FEATURE] Add `trackTimestampsStaleness` field to `ServiceMonitor`, `PodMonitor` and `ScrapeConfig` CRDs. #6105
* [FEATURE] Add `persistentVolumeClaimRetentionPolicy` field to the `Prometheus` and `PrometheusAgent` CRDs. #6038
* [FEATURE] Support service,pod,endpoints,endpointslice,ingress roles to `KubernetesSDConfigs` in `ScrapeConfig` CRD. #6089
* [FEATURE] Add support for Azure SD and GCE SD in `ScrapeConfig` CRD. #6078 #6009
* [FEATURE] Add azure AD oauth support to remote write. #6037
* [FEATURE] Add `.spec.reloadStrategy` to the Prometheus and PrometheusAgent CRDs. The value can be `HTTP` (default if not specified) or `ProcessSignal`. #5690
* [ENHANCEMENT] Expose flag to enable the reloader probes in the jsonnet configuration. #6075
* [ENHANCEMENT] Reduce memory usage for clusters with large number of secrets and/or configmaps. #5993
* [ENHANCEMENT] Config reloader now sends all logs to `os.Stdout`. #6085
* [BUGFIX] Remove verbose logging in admission-webhook pods. #6095
* [BUGFIX] Fixed HTTP scheme value in the Consul SD configurations. #6098
* [BUGFIX] Skip adding shard relabel rules if they were already set in `additionalScrapeConfigs`. #6099
* [BUGFIX] Fix nil pointer exception when title and text are not set in MS Teams config. #6109

## 0.69.1 / 2023-11-09

This release is built using Go 1.21.4 which addresses CVE-2023-45283 and CVE-2023-45284.
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ are very busy and read the mailing lists.
The project also holds bi-weekly public meetings where maintainers,
contributors and users of the Prometheus Operator and kube-prometheus can
discuss issues, pull requests or any topic related to the projects. The
meetings happen at 09:00 UTC on Monday, check the [online
meetings happen at 11:00 UTC on Monday, check the [online
notes](https://docs.google.com/document/d/1-fjJmzrwRpKmSPHtXN5u6VZnn39M28KqyQGBEJsqUOk/edit?usp=sharing)
to know the exact dates and the connection details.

Expand Down