Skip to content

Commit

Permalink
Merge pull request prometheus-operator#6950 from slashpai/cut-0.77
Browse files Browse the repository at this point in the history
chore: cut 0.77.0
  • Loading branch information
slashpai authored Sep 19, 2024
2 parents c846674 + 0a82836 commit 3234e89
Show file tree
Hide file tree
Showing 41 changed files with 95 additions and 73 deletions.
26 changes: 24 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,36 @@
## Unreleased

* [FEATURE] Add `-kubelet-endpointslice` argument to support `EndpointSlice` for the kubelet controller.
## 0.77.0 / 2024-09-19

> [!NOTE]
> Along with this release we also introduce a new command line tool [poctl](https://github.com/prometheus-operator/poctl). It is designed specifically for managing Prometheus Operator Custom Resources.
> This project is currently under active development and fully experimental, so expect breaking changes and rough edges. We encourage you to [try it out](https://github.com/prometheus-operator/poctl/releases/tag/v0.1.0) and provide the feedback.
> [!WARNING]
> Another notable change is that we have switched the logging framework from [go-kit/log](https://github.com/go-kit/log) to [slog](https://pkg.go.dev/log/slog) which may lead to some differences in the log output.
* [CHANGE] Add more API validation and changes to the `ScrapeConfig` CRD. #6921 #6855 #6744
* [CHANGE] Update the validating webhook to reject `PrometheusRule` objects that would generate configuration greater than the max ConfigMap size (512KiB). #6606
* [FEATURE] Add experimental Prometheus 3 support. It allows to try the new Prometheus `v3.0.0-beta.0`. #6940
* Feature requests in this version won't be supported until Prometheus 3 reaches a stable release. However, users are encouraged to try the beta version with the Operator and report any issues they encounter.
* [FEATURE] Add support for `PodMonitor` to the `PrometheusAgent` CRD in DaemonSet mode. #6879
* [FEATURE] Add `-kubelet-endpointslice` argument to support `EndpointSlice` for the kubelet controller. #6882
* [FEATURE] Add `outOfOrderTimeWindow` field to the `PrometheusAgent` CRD. #6851
* [FEATURE] Add `matchFirstNetwork` field to the `ScrapeConfig` CRD for the Docker Service Discovery. #6849 #6894
* [FEATURE] Add the `otlp` field to the `Prometheus` and `PrometheusAgent` CRDs. #6780
* [FEATURE] Add support for certificate, key and client CA file paths to the web TLS configuration. #6358
* [FEATURE] Add `noProxy`, `proxyFromEnvironment` and `proxyConnectHeader` fields to the AlertmanagerConfig CRD for OAuth2 clients. #6922
* [FEATURE] Add `noProxy`, `proxyFromEnvironment` and `proxyConnectHeader` fields to the AlertmanagerConfig CRD for HTTP clients. #6864
* [FEATURE] Add Ionos Service Discovery support to `ScrapeConfig` CRD. (#6732)
* [BUGFIX] Fix panic when processing an invalid `AlertmanagerConfig` object used for global configuration. #6931
* [BUGFIX] Allow configuring proxy URL for all Prometheus versions. #6845

## 0.76.2 / 2024-09-09

* [BUGFIX] Fix OAuth2 TLSConfig nil pointer. #6909

## 0.76.1 / 2024-09-03

* [BUGFIX] fix panic when processing an invalid `AlertmanagerConfig` object used for global configuration. #6931
* [BUGFIX] fix bug with Kubernetes service discovery `Selector.Role` field. #6896

## 0.76.0 / 2024-08-08
Expand Down
2 changes: 1 addition & 1 deletion Documentation/operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Usage of ./operator:
-namespaces value
Namespaces to scope the interaction of the Prometheus Operator and the apiserver (allow list). This is mutually exclusive with --deny-namespaces.
-prometheus-config-reloader string
Prometheus config reloader image (default "quay.io/prometheus-operator/prometheus-config-reloader:v0.76.2")
Prometheus config reloader image (default "quay.io/prometheus-operator/prometheus-config-reloader:v0.77.0")
-prometheus-default-base-image string
Prometheus default base image (path without tag/version) (default "quay.io/prometheus/prometheus")
-prometheus-instance-namespaces value
Expand Down
6 changes: 3 additions & 3 deletions Documentation/rbac.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ metadata:
labels:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator
rules:
- apiGroups:
Expand Down Expand Up @@ -207,7 +207,7 @@ metadata:
labels:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator
namespace: default
```
Expand All @@ -223,7 +223,7 @@ metadata:
labels:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down
2 changes: 1 addition & 1 deletion Documentation/user-guides/prometheus-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ metadata:
labels:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator
rules:
- apiGroups:
Expand Down
10 changes: 5 additions & 5 deletions Documentation/user-guides/webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ kind: ServiceAccount
metadata:
labels:
app.kubernetes.io/name: prometheus-operator-admission-webhook
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator-admission-webhook
namespace: default
```
Expand All @@ -97,7 +97,7 @@ kind: Deployment
metadata:
labels:
app.kubernetes.io/name: prometheus-operator-admission-webhook
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator-admission-webhook
namespace: default
spec:
Expand All @@ -114,7 +114,7 @@ spec:
kubectl.kubernetes.io/default-container: prometheus-operator-admission-webhook
labels:
app.kubernetes.io/name: prometheus-operator-admission-webhook
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
spec:
affinity:
podAntiAffinity:
Expand All @@ -131,7 +131,7 @@ spec:
- --web.enable-tls=true
- --web.cert-file=/etc/tls/private/tls.crt
- --web.key-file=/etc/tls/private/tls.key
image: quay.io/prometheus-operator/admission-webhook:v0.76.2
image: quay.io/prometheus-operator/admission-webhook:v0.77.0
name: prometheus-operator-admission-webhook
ports:
- containerPort: 8443
Expand Down Expand Up @@ -179,7 +179,7 @@ kind: Service
metadata:
labels:
app.kubernetes.io/name: prometheus-operator-admission-webhook
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator-admission-webhook
namespace: default
spec:
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.76.2
0.77.0
36 changes: 18 additions & 18 deletions bundle.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions example/admission-webhook/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Deployment
metadata:
labels:
app.kubernetes.io/name: prometheus-operator-admission-webhook
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator-admission-webhook
namespace: default
spec:
Expand All @@ -20,7 +20,7 @@ spec:
kubectl.kubernetes.io/default-container: prometheus-operator-admission-webhook
labels:
app.kubernetes.io/name: prometheus-operator-admission-webhook
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
spec:
affinity:
podAntiAffinity:
Expand All @@ -37,7 +37,7 @@ spec:
- --web.enable-tls=true
- --web.cert-file=/etc/tls/private/tls.crt
- --web.key-file=/etc/tls/private/tls.key
image: quay.io/prometheus-operator/admission-webhook:v0.76.2
image: quay.io/prometheus-operator/admission-webhook:v0.77.0
name: prometheus-operator-admission-webhook
ports:
- containerPort: 8443
Expand Down
2 changes: 1 addition & 1 deletion example/admission-webhook/pod-disruption-budget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: PodDisruptionBudget
metadata:
labels:
app.kubernetes.io/name: prometheus-operator-admission-webhook
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator-admission-webhook
namespace: default
spec:
Expand Down
2 changes: 1 addition & 1 deletion example/admission-webhook/service-account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ kind: ServiceAccount
metadata:
labels:
app.kubernetes.io/name: prometheus-operator-admission-webhook
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator-admission-webhook
namespace: default
4 changes: 2 additions & 2 deletions example/admission-webhook/service-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ServiceMonitor
metadata:
labels:
app.kubernetes.io/name: prometheus-operator-admission-webhook
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator-admission-webhook
namespace: default
spec:
Expand All @@ -13,4 +13,4 @@ spec:
selector:
matchLabels:
app.kubernetes.io/name: prometheus-operator-admission-webhook
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
2 changes: 1 addition & 1 deletion example/admission-webhook/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Service
metadata:
labels:
app.kubernetes.io/name: prometheus-operator-admission-webhook
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator-admission-webhook
namespace: default
spec:
Expand Down
2 changes: 1 addition & 1 deletion example/alertmanager-crd-conversion/patch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"metadata": {
"annotations": {
"controller-gen.kubebuilder.io/version": "v0.16.1",
"operator.prometheus.io/version": "0.76.2"
"operator.prometheus.io/version": "0.77.0"
},
"name": "alertmanagerconfigs.monitoring.coreos.com"
},
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3234e89

Please sign in to comment.