From 8adc2f5fc6f6c325994482b42c554fe793466b64 Mon Sep 17 00:00:00 2001 From: Yuri Sa <48062171+yuriolisa@users.noreply.github.com> Date: Wed, 30 Oct 2024 15:47:09 +0100 Subject: [PATCH] Release 0.112.0 (#3405) * Release 0.112.0 Signed-off-by: Yuri Sa * Release 0.112.0 Signed-off-by: Yuri Sa --------- Signed-off-by: Yuri Sa --- .chloggen/1814-java-configmap.yaml | 19 ----------- .chloggen/3267-custom-instr-vol.yaml | 16 --------- ...-persistentVolumeClaimRetentionPolicy.yaml | 16 --------- .chloggen/3380-ta-serviceaccount-check.yaml | 16 --------- ...build-musl-python-autoinstrumentation.yaml | 16 --------- .chloggen/httpd_safe_conf.yaml | 16 --------- .chloggen/kubeletstats.yaml | 16 --------- .chloggen/nodejs-ibm-platforms.yaml | 16 --------- .chloggen/ta-no-root.yaml | 16 --------- CHANGELOG.md | 33 +++++++++++++++++++ RELEASE.md | 2 +- ...emetry-operator.clusterserviceversion.yaml | 8 ++--- ...emetry-operator.clusterserviceversion.yaml | 8 ++--- docs/compatibility.md | 2 +- versions.txt | 8 ++--- 15 files changed, 47 insertions(+), 161 deletions(-) delete mode 100755 .chloggen/1814-java-configmap.yaml delete mode 100755 .chloggen/3267-custom-instr-vol.yaml delete mode 100755 .chloggen/3305-persistentVolumeClaimRetentionPolicy.yaml delete mode 100755 .chloggen/3380-ta-serviceaccount-check.yaml delete mode 100644 .chloggen/3384-build-musl-python-autoinstrumentation.yaml delete mode 100755 .chloggen/httpd_safe_conf.yaml delete mode 100755 .chloggen/kubeletstats.yaml delete mode 100755 .chloggen/nodejs-ibm-platforms.yaml delete mode 100755 .chloggen/ta-no-root.yaml diff --git a/.chloggen/1814-java-configmap.yaml b/.chloggen/1814-java-configmap.yaml deleted file mode 100755 index dbdddd5786..0000000000 --- a/.chloggen/1814-java-configmap.yaml +++ /dev/null @@ -1,19 +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. collector, target allocator, auto-instrumentation, opamp, github action) -component: auto-instrumentation - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Support configuring Java auto-instrumentation when runtime configuration is provided from configmap or secret. - -# One or more tracking issues related to the change -issues: [1814] - -# (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: | - This change allows users to configure JAVA_TOOL_OPTIONS in config map or secret. - The operator in this case set another JAVA_TOOL_OPTIONS that references the original value - e.g. `JAVA_TOOL_OPTIONS=$(JAVA_TOOL_OPTIONS) -javaagent:/otel-auto-instrumentation-java/javaagent.jar`. diff --git a/.chloggen/3267-custom-instr-vol.yaml b/.chloggen/3267-custom-instr-vol.yaml deleted file mode 100755 index e8fe6a147b..0000000000 --- a/.chloggen/3267-custom-instr-vol.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. collector, target allocator, auto-instrumentation, opamp, github action) -component: auto-instrumentation - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Adds VolumeClaimTemplate field to Instrumentation spec to enable user-definable ephemeral volumes for auto-instrumentation. - -# One or more tracking issues related to the change -issues: [3267] - -# (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/3305-persistentVolumeClaimRetentionPolicy.yaml b/.chloggen/3305-persistentVolumeClaimRetentionPolicy.yaml deleted file mode 100755 index 93ca955f4c..0000000000 --- a/.chloggen/3305-persistentVolumeClaimRetentionPolicy.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. collector, target allocator, auto-instrumentation, opamp, github action) -component: collector - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: "Add support for persistentVolumeClaimRetentionPolicy field" - -# One or more tracking issues related to the change -issues: [3305] - -# (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/3380-ta-serviceaccount-check.yaml b/.chloggen/3380-ta-serviceaccount-check.yaml deleted file mode 100755 index 4bcfc4e0df..0000000000 --- a/.chloggen/3380-ta-serviceaccount-check.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: bug_fix - -# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action) -component: target allocator - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: "Permission check fixed for the serviceaccount of the target allocator" - -# One or more tracking issues related to the change -issues: [3380] - -# (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/3384-build-musl-python-autoinstrumentation.yaml b/.chloggen/3384-build-musl-python-autoinstrumentation.yaml deleted file mode 100644 index 52288b22b3..0000000000 --- a/.chloggen/3384-build-musl-python-autoinstrumentation.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. collector, target allocator, auto-instrumentation, opamp, github action) -component: auto-instrumentation - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: build musl based auto-instrumentation in Python docker image - -# One or more tracking issues related to the change -issues: [2264] - -# (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/httpd_safe_conf.yaml b/.chloggen/httpd_safe_conf.yaml deleted file mode 100755 index b562fff35a..0000000000 --- a/.chloggen/httpd_safe_conf.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. collector, target allocator, auto-instrumentation, opamp, github action) -component: 'auto-instrumentation' - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: 'An empty line should come before the addition of Include ...opentemetry_agent.conf, as a protection measure against cases of httpd.conf w/o a blank last line' - -# One or more tracking issues related to the change -issues: [3401] - -# (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/kubeletstats.yaml b/.chloggen/kubeletstats.yaml deleted file mode 100755 index 18d2979c32..0000000000 --- a/.chloggen/kubeletstats.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. collector, target allocator, auto-instrumentation, opamp, github action) -component: collector - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: "Add automatic RBAC creation for the `kubeletstats` receiver." - -# One or more tracking issues related to the change -issues: [3155] - -# (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/nodejs-ibm-platforms.yaml b/.chloggen/nodejs-ibm-platforms.yaml deleted file mode 100755 index 50d44d5a78..0000000000 --- a/.chloggen/nodejs-ibm-platforms.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. collector, target allocator, auto-instrumentation, opamp, github action) -component: auto-instrumentation - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Add Nodejs auto-instrumentation image builds for linux/s390x,linux/ppc64le. - -# One or more tracking issues related to the change -issues: [3322] - -# (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/ta-no-root.yaml b/.chloggen/ta-no-root.yaml deleted file mode 100755 index 6daeb7840f..0000000000 --- a/.chloggen/ta-no-root.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: bug_fix - -# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action) -component: target allocator - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Change docker image to run as non-root - -# One or more tracking issues related to the change -issues: [3378] - -# (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 06b21f27df..50bfb30e5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,39 @@ +## 0.112.0 + +### 💡 Enhancements 💡 + +- `auto-instrumentation`: Support configuring Java auto-instrumentation when runtime configuration is provided from configmap or secret. (#1814) + This change allows users to configure JAVA_TOOL_OPTIONS in config map or secret when the name of the variable is defined in the pod spec. + The operator in this case set another JAVA_TOOL_OPTIONS that references the original value + e.g. `JAVA_TOOL_OPTIONS=$(JAVA_TOOL_OPTIONS) -javaagent:/otel-auto-instrumentation-java/javaagent.jar`. + +- `auto-instrumentation`: Adds VolumeClaimTemplate field to Instrumentation spec to enable user-definable ephemeral volumes for auto-instrumentation. (#3267) +- `collector`: Add support for persistentVolumeClaimRetentionPolicy field (#3305) +- `auto-instrumentation`: build musl based auto-instrumentation in Python docker image (#2264) +- `auto-instrumentation`: An empty line should come before the addition of Include ...opentemetry_agent.conf, as a protection measure against cases of httpd.conf w/o a blank last line (#3401) +- `collector`: Add automatic RBAC creation for the `kubeletstats` receiver. (#3155) +- `auto-instrumentation`: Add Nodejs auto-instrumentation image builds for linux/s390x,linux/ppc64le. (#3322) + +### 🧰 Bug fixes 🧰 + +- `target allocator`: Permission check fixed for the serviceaccount of the target allocator (#3380) +- `target allocator`: Change docker image to run as non-root (#3378) + +### Components + +* [OpenTelemetry Collector - v0.112.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.112.0) +* [OpenTelemetry Contrib - v0.112.0](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.112.0) +* [Java auto-instrumentation - v1.33.5](https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v1.33.5) +* [.NET auto-instrumentation - v1.2.0](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/tag/v1.2.0) +* [Node.JS - v0.53.0](https://github.com/open-telemetry/opentelemetry-js/releases/tag/experimental%2Fv0.53.0) +* [Python - v0.48b0](https://github.com/open-telemetry/opentelemetry-python-contrib/releases/tag/v0.48b0) +* [Go - v0.15.0-alpha](https://github.com/open-telemetry/opentelemetry-go-instrumentation/releases/tag/v0.15.0-alpha) +* [ApacheHTTPD - 1.0.4](https://github.com/open-telemetry/opentelemetry-cpp-contrib/releases/tag/webserver%2Fv1.0.4) +* [Nginx - 1.0.4](https://github.com/open-telemetry/opentelemetry-cpp-contrib/releases/tag/webserver%2Fv1.0.4) + ## 0.111.0 ### 💡 Enhancements 💡 diff --git a/RELEASE.md b/RELEASE.md index 0ebff0392c..e0fd0222ec 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -44,10 +44,10 @@ The operator should be released within a week after the [OpenTelemetry collector | Version | Release manager | |----------|-----------------| -| v0.112.0 | @yuriolisa | | v0.113.0 | @pavolloffay | | v0.114.0 | @TylerHelmuth | | v0.115.0 | @jaronoff97 | | v0.116.0 | @swiatekm | | v0.117.0 | @iblancasa | | v0.118.0 | @frzifus | +| v0.119.0 | @yuriolisa | \ No newline at end of file diff --git a/bundle/community/manifests/opentelemetry-operator.clusterserviceversion.yaml b/bundle/community/manifests/opentelemetry-operator.clusterserviceversion.yaml index cf2f802a05..b5d9b71071 100644 --- a/bundle/community/manifests/opentelemetry-operator.clusterserviceversion.yaml +++ b/bundle/community/manifests/opentelemetry-operator.clusterserviceversion.yaml @@ -99,13 +99,13 @@ metadata: categories: Logging & Tracing,Monitoring certified: "false" containerImage: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator - createdAt: "2024-10-16T10:10:50Z" + createdAt: "2024-10-29T11:05:37Z" description: Provides the OpenTelemetry components, including the Collector operators.operatorframework.io/builder: operator-sdk-v1.29.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: github.com/open-telemetry/opentelemetry-operator support: OpenTelemetry Community - name: opentelemetry-operator.v0.111.0 + name: opentelemetry-operator.v0.112.0 namespace: placeholder spec: apiservicedefinitions: {} @@ -481,7 +481,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.serviceAccountName - image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.111.0 + image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.112.0 livenessProbe: httpGet: path: /healthz @@ -589,7 +589,7 @@ spec: minKubeVersion: 1.23.0 provider: name: OpenTelemetry Community - version: 0.111.0 + version: 0.112.0 webhookdefinitions: - admissionReviewVersions: - v1alpha1 diff --git a/bundle/openshift/manifests/opentelemetry-operator.clusterserviceversion.yaml b/bundle/openshift/manifests/opentelemetry-operator.clusterserviceversion.yaml index 8ab2219366..964043fb23 100644 --- a/bundle/openshift/manifests/opentelemetry-operator.clusterserviceversion.yaml +++ b/bundle/openshift/manifests/opentelemetry-operator.clusterserviceversion.yaml @@ -99,13 +99,13 @@ metadata: categories: Logging & Tracing,Monitoring certified: "false" containerImage: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator - createdAt: "2024-10-16T10:10:50Z" + createdAt: "2024-10-29T11:05:47Z" description: Provides the OpenTelemetry components, including the Collector operators.operatorframework.io/builder: operator-sdk-v1.29.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: github.com/open-telemetry/opentelemetry-operator support: OpenTelemetry Community - name: opentelemetry-operator.v0.111.0 + name: opentelemetry-operator.v0.112.0 namespace: placeholder spec: apiservicedefinitions: {} @@ -485,7 +485,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.serviceAccountName - image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.111.0 + image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.112.0 livenessProbe: httpGet: path: /healthz @@ -593,7 +593,7 @@ spec: minKubeVersion: 1.23.0 provider: name: OpenTelemetry Community - version: 0.111.0 + version: 0.112.0 webhookdefinitions: - admissionReviewVersions: - v1alpha1 diff --git a/docs/compatibility.md b/docs/compatibility.md index dd9a41890b..4a38633f7e 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -46,6 +46,7 @@ The OpenTelemetry Operator _might_ work on versions outside of the given range, | OpenTelemetry Operator | Kubernetes | Cert-Manager | Prometheus-Operator | |------------------------|----------------| ------------ |---------------------| +| v0.112.0 | v1.23 to v1.31 | v1 | v0.76.0 | | v0.111.0 | v1.23 to v1.31 | v1 | v0.76.0 | | v0.110.0 | v1.23 to v1.31 | v1 | v0.76.0 | | v0.109.0 | v1.23 to v1.31 | v1 | v0.76.0 | @@ -69,7 +70,6 @@ The OpenTelemetry Operator _might_ work on versions outside of the given range, | v0.91.0 | v1.23 to v1.29 | v1 | v0.70.0 | | v0.90.0 | v1.23 to v1.28 | v1 | v0.69.1 | | v0.89.0 | v1.23 to v1.28 | v1 | v0.69.1 | -| v0.88.0 | v1.23 to v1.28 | v1 | v0.68.0 | [kubernetes_releases]: https://kubernetes.io/releases/ [openshift_support]: https://access.redhat.com/support/policy/updates/openshift diff --git a/versions.txt b/versions.txt index 2c7f385168..dc2ee9b67d 100644 --- a/versions.txt +++ b/versions.txt @@ -2,16 +2,16 @@ # by default with the OpenTelemetry Operator. This would usually be the latest # stable OpenTelemetry version. When you update this file, make sure to update the # the docs as well. -opentelemetry-collector=0.111.0 +opentelemetry-collector=0.112.0 # Represents the current release of the OpenTelemetry Operator. -operator=0.111.0 +operator=0.112.0 # Represents the current release of the Target Allocator. -targetallocator=0.111.0 +targetallocator=0.112.0 # Represents the current release of the Operator OpAMP Bridge. -operator-opamp-bridge=0.111.0 +operator-opamp-bridge=0.112.0 # Represents the current release of Java instrumentation. # Should match autoinstrumentation/java/version.txt