From 6d75685dfcf9824ec41b1a51afb4c14b135fbd00 Mon Sep 17 00:00:00 2001 From: tempooperatorbot <150731540+tempooperatorbot@users.noreply.github.com> Date: Thu, 4 Jul 2024 07:18:48 -0600 Subject: [PATCH] Prepare Release 0.11.0 (#966) Co-authored-by: pavolloffay --- .chloggen/bump-tempo.yaml | 20 ----------------- .chloggen/gateway-otlp-http.yaml | 16 -------------- .chloggen/go122.yaml | 16 -------------- .chloggen/monolithic_services_duration.yaml | 16 -------------- .chloggen/monolitic_oauth_proxy.yaml | 16 -------------- .chloggen/oauth_proxy.yaml | 16 -------------- CHANGELOG.md | 22 +++++++++++++++++++ Makefile | 2 +- .../tempo-operator.clusterserviceversion.yaml | 10 ++++----- .../tempo-operator.clusterserviceversion.yaml | 10 ++++----- config/manager/kustomization.yaml | 2 +- .../tempo-operator.clusterserviceversion.yaml | 2 +- .../tempo-operator.clusterserviceversion.yaml | 2 +- 13 files changed, 36 insertions(+), 114 deletions(-) delete mode 100755 .chloggen/bump-tempo.yaml delete mode 100755 .chloggen/gateway-otlp-http.yaml delete mode 100755 .chloggen/go122.yaml delete mode 100755 .chloggen/monolithic_services_duration.yaml delete mode 100755 .chloggen/monolitic_oauth_proxy.yaml delete mode 100755 .chloggen/oauth_proxy.yaml diff --git a/.chloggen/bump-tempo.yaml b/.chloggen/bump-tempo.yaml deleted file mode 100755 index dacd0fc4d..000000000 --- a/.chloggen/bump-tempo.yaml +++ /dev/null @@ -1,20 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: breaking - -# The name of the component, or a single word describing the area of concern, (e.g. operator, github action) -component: operator - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Update Tempo to 2.5.0 - -# One or more tracking issues related to the change -issues: [958] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: | - Upstream Tempo 2.5.0 image switched user from `root` to `tempo` (10001:10001) and ownership of `/var/tempo`. - Therefore ingester's `/var/tempo/wal` created by previous deployment using Tempo 2.4.1 needs to be updated and - changed ownership. The operator upgrades the `/var/tempo` ownership by deploying a `job` with `securityContext.runAsUser(0)` - and it runs `chown -R /var/tempo 10001:10001`. diff --git a/.chloggen/gateway-otlp-http.yaml b/.chloggen/gateway-otlp-http.yaml deleted file mode 100755 index 65feada70..000000000 --- a/.chloggen/gateway-otlp-http.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: enhancement - -# The name of the component, or a single word describing the area of concern, (e.g. operator, github action) -component: operator - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Enable OTLP HTTP on Gateway by default. - -# One or more tracking issues related to the change -issues: [948] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: diff --git a/.chloggen/go122.yaml b/.chloggen/go122.yaml deleted file mode 100755 index b76fcce97..000000000 --- a/.chloggen/go122.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: enhancement - -# The name of the component, or a single word describing the area of concern, (e.g. operator, github action) -component: operator - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Use golang 1.22 to build the operator - -# One or more tracking issues related to the change -issues: [959] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: diff --git a/.chloggen/monolithic_services_duration.yaml b/.chloggen/monolithic_services_duration.yaml deleted file mode 100755 index 5edf4f65a..000000000 --- a/.chloggen/monolithic_services_duration.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: enhancement - -# The name of the component, or a single word describing the area of concern, (e.g. operator, github action) -component: operator - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Make configurable availability of the service names in Tempo monolithic - -# One or more tracking issues related to the change -issues: [942] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: diff --git a/.chloggen/monolitic_oauth_proxy.yaml b/.chloggen/monolitic_oauth_proxy.yaml deleted file mode 100755 index 015e27651..000000000 --- a/.chloggen/monolitic_oauth_proxy.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: enhancement - -# The name of the component, or a single word describing the area of concern, (e.g. operator, github action) -component: operator - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Add oauth-proxy support for tempo monolithic - -# One or more tracking issues related to the change -issues: [922] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: diff --git a/.chloggen/oauth_proxy.yaml b/.chloggen/oauth_proxy.yaml deleted file mode 100755 index bf4214c58..000000000 --- a/.chloggen/oauth_proxy.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: enhancement - -# The name of the component, or a single word describing the area of concern, (e.g. operator, github action) -component: operator - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Protect Jaeger UI when multi tenancy is disabled. - -# One or more tracking issues related to the change -issues: [909] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: diff --git a/CHANGELOG.md b/CHANGELOG.md index 155a746b4..71050f255 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,28 @@ Changes by Version +## 0.11.0 + +### 🛑 Breaking changes 🛑 + +- `operator`: Update Tempo to 2.5.0 (#958) + Upstream Tempo 2.5.0 image switched user from `root` to `tempo` (10001:10001) and ownership of `/var/tempo`. + Therefore ingester's `/var/tempo/wal` created by previous deployment using Tempo 2.4.1 needs to be updated and + changed ownership. The operator upgrades the `/var/tempo` ownership by deploying a `job` with `securityContext.runAsUser(0)` + and it runs `chown -R /var/tempo 10001:10001`. + + +### 💡 Enhancements 💡 + +- `operator`: Enable OTLP HTTP on Gateway by default. (#948) +- `operator`: Use golang 1.22 to build the operator (#959) +- `operator`: Make configurable availability of the service names in Tempo monolithic (#942) +- `operator`: Add oauth-proxy support for tempo monolithic (#922) +- `operator`: Protect Jaeger UI when multi tenancy is disabled. (#909) + +### Components +- Tempo: [v2.5.0](https://github.com/grafana/tempo/releases/tag/v2.5.0) + ## 0.10.0 ### 🛑 Breaking changes 🛑 diff --git a/Makefile b/Makefile index 840c6a352..958aeec8e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Current Operator version -OPERATOR_VERSION ?= 0.10.0 +OPERATOR_VERSION ?= 0.11.0 TEMPO_VERSION ?= 2.5.0 TEMPO_QUERY_VERSION ?= 2.5.0 TEMPO_GATEWAY_VERSION ?= main-2024-05-29-ca8d2de diff --git a/bundle/community/manifests/tempo-operator.clusterserviceversion.yaml b/bundle/community/manifests/tempo-operator.clusterserviceversion.yaml index a36cd0ae1..ce2a86e40 100644 --- a/bundle/community/manifests/tempo-operator.clusterserviceversion.yaml +++ b/bundle/community/manifests/tempo-operator.clusterserviceversion.yaml @@ -73,8 +73,8 @@ metadata: ] capabilities: Deep Insights categories: Logging & Tracing,Monitoring - containerImage: ghcr.io/grafana/tempo-operator/tempo-operator:v0.10.0 - createdAt: "2024-07-04T12:01:25Z" + containerImage: ghcr.io/grafana/tempo-operator/tempo-operator:v0.11.0 + createdAt: "2024-07-04T13:04:01Z" description: Create and manage deployments of Tempo, a high-scale distributed tracing backend. operatorframework.io/cluster-monitoring: "true" @@ -83,7 +83,7 @@ metadata: operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: https://github.com/grafana/tempo-operator support: Grafana Tempo Operator SIG - name: tempo-operator.v0.10.0 + name: tempo-operator.v0.11.0 namespace: placeholder spec: apiservicedefinitions: {} @@ -1391,7 +1391,7 @@ spec: value: quay.io/observatorium/opa-openshift:main-2024-04-29-914c13f - name: RELATED_IMAGE_OAUTH_PROXY value: quay.io/openshift/origin-oauth-proxy:4.12 - image: ghcr.io/grafana/tempo-operator/tempo-operator:v0.10.0 + image: ghcr.io/grafana/tempo-operator/tempo-operator:v0.11.0 livenessProbe: httpGet: path: /healthz @@ -1539,7 +1539,7 @@ spec: name: tempo-gateway-opa - image: quay.io/openshift/origin-oauth-proxy:4.12 name: oauth-proxy - version: 0.10.0 + version: 0.11.0 webhookdefinitions: - admissionReviewVersions: - v1 diff --git a/bundle/openshift/manifests/tempo-operator.clusterserviceversion.yaml b/bundle/openshift/manifests/tempo-operator.clusterserviceversion.yaml index 278e01ed5..65b3ff590 100644 --- a/bundle/openshift/manifests/tempo-operator.clusterserviceversion.yaml +++ b/bundle/openshift/manifests/tempo-operator.clusterserviceversion.yaml @@ -73,8 +73,8 @@ metadata: ] capabilities: Deep Insights categories: Logging & Tracing,Monitoring - containerImage: ghcr.io/grafana/tempo-operator/tempo-operator:v0.10.0 - createdAt: "2024-07-04T12:01:24Z" + containerImage: ghcr.io/grafana/tempo-operator/tempo-operator:v0.11.0 + createdAt: "2024-07-04T13:03:59Z" description: Create and manage deployments of Tempo, a high-scale distributed tracing backend. operatorframework.io/cluster-monitoring: "true" @@ -83,7 +83,7 @@ metadata: operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: https://github.com/grafana/tempo-operator support: Grafana Tempo Operator SIG - name: tempo-operator.v0.10.0 + name: tempo-operator.v0.11.0 namespace: placeholder spec: apiservicedefinitions: {} @@ -1401,7 +1401,7 @@ spec: value: quay.io/observatorium/opa-openshift:main-2024-04-29-914c13f - name: RELATED_IMAGE_OAUTH_PROXY value: quay.io/openshift/origin-oauth-proxy:4.12 - image: ghcr.io/grafana/tempo-operator/tempo-operator:v0.10.0 + image: ghcr.io/grafana/tempo-operator/tempo-operator:v0.11.0 livenessProbe: httpGet: path: /healthz @@ -1560,7 +1560,7 @@ spec: name: tempo-gateway-opa - image: quay.io/openshift/origin-oauth-proxy:4.12 name: oauth-proxy - version: 0.10.0 + version: 0.11.0 webhookdefinitions: - admissionReviewVersions: - v1 diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 15147ff78..662a1c454 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -9,4 +9,4 @@ kind: Kustomization images: - name: controller newName: ghcr.io/grafana/tempo-operator/tempo-operator - newTag: v0.10.0 + newTag: v0.11.0 diff --git a/config/manifests/community/bases/tempo-operator.clusterserviceversion.yaml b/config/manifests/community/bases/tempo-operator.clusterserviceversion.yaml index 74107ecfb..dfe1cb3ce 100644 --- a/config/manifests/community/bases/tempo-operator.clusterserviceversion.yaml +++ b/config/manifests/community/bases/tempo-operator.clusterserviceversion.yaml @@ -5,7 +5,7 @@ metadata: alm-examples: '[]' capabilities: Deep Insights categories: Logging & Tracing,Monitoring - containerImage: ghcr.io/grafana/tempo-operator/tempo-operator:v0.10.0 + containerImage: ghcr.io/grafana/tempo-operator/tempo-operator:v0.11.0 description: Create and manage deployments of Tempo, a high-scale distributed tracing backend. operatorframework.io/cluster-monitoring: "true" diff --git a/config/manifests/openshift/bases/tempo-operator.clusterserviceversion.yaml b/config/manifests/openshift/bases/tempo-operator.clusterserviceversion.yaml index 50e546097..213c841c3 100644 --- a/config/manifests/openshift/bases/tempo-operator.clusterserviceversion.yaml +++ b/config/manifests/openshift/bases/tempo-operator.clusterserviceversion.yaml @@ -5,7 +5,7 @@ metadata: alm-examples: '[]' capabilities: Deep Insights categories: Logging & Tracing,Monitoring - containerImage: ghcr.io/grafana/tempo-operator/tempo-operator:v0.10.0 + containerImage: ghcr.io/grafana/tempo-operator/tempo-operator:v0.11.0 description: Create and manage deployments of Tempo, a high-scale distributed tracing backend. operatorframework.io/cluster-monitoring: "true"