Release date: January 26, 2026
Kubernetes records CRD versions in .status.storedVersions, but doesn’t remove entries when versions are deleted, so old versions accumulate and can block upgrades.
In Dynatrace Operator versions < 1.4, deprecated v1beta1 and v1beta2 were automatically added to .status.storedVersions and never cleaned up. Thus, any cluster that had been running versions before 1.4 is affected. If these versions remain during a future upgrade, CRD installation will fail. This release introduces a two-step solution to ensure smooth upgrades:
Helm hook for CRD cleanup
During upgrade, a Helm hook starts a Kubernetes Job that erases obsolete API versions from the DynaKube CRD's status.storedVersions field. The job only keeps the latest API version that is available in the Dynatrace Operator version installed before the upgrade. This step ensures a smooth upgrade to the new CRD during the Helm upgrade process. See Dynatrace Operator security for information regarding required permissions.
Dynatrace Operator startup migration
After the upgrade was successful and the new Dynatrace Operator version 1.7.3 is operational, it migrates all existing DynaKubes to the latest supported API version v1beta5. After the DynaKube migration, the status.storedVersions field in the DynaKube CRD is updated to hold only the latest API version v1beta5 to ensure consistency.
Clusters that have previously run Dynatrace Operator version 1.3 and earlier may have obsolete v1beta1 or v1beta2 entries in the DynaKube CRD's .status.storedVersions. These must be removed before upgrading to this release, or the CRD upgrade will fail.
Whether you need to stop at Dynatrace Operator version 1.7.3 first depends on your installation method:
Helm-based installation
.status.storedVersions entries during the upgrade.Alternative installation methods (Red Hat OpenShift OperatorHub, OperatorHub.io, Google Marketplace, or plain Kubernetes manifests)
.status.storedVersionsInstead of upgrading to version 1.7.3, you can manually remove the obsolete entries from .status.storedVersions:
List the stored versions in the CRD:
kubectl -n dynatrace get crd dynakubes.dynatrace.com -o jsonpath='{.status.storedVersions}'
Continue only if multiple versions are listed in the output. If only one version is listed, no action is required.
Identify the currently active version:
storage_version=$(kubectl get customresourcedefinitions dynakubes.dynatrace.com -o jsonpath='{.spec.versions[?(@.storage==true)].name}')
Convert all DynaKubes to the active version:
kubectl get dynakube -n dynatrace -o yaml | kubectl replace -f -
Remove all previous versions while keeping the active version:
kubectl patch customresourcedefinitions dynakubes.dynatrace.com --subresource='status' --type='merge' -p "{\"status\":{\"storedVersions\":[\"${storage_version}\"]}}"
Ensuring that .status.storedVersions is clean is crucial to avoid issues with future upgrades.
ArgoCD may display resources that are still using an old API version as "out-of-sync".
We have identified the following known issues with Dynatrace Operator versions 1.7.0–1.7.3. For other known issues, see Dynatrace Operator support and known issues.
/var/lib/dynatrace), Dynatrace components can no longer be injected with the OneAgent.The Helm repository located in dynatrace/helm-charts is deprecated and will stop receiving updates in a future release! If you are still using it,
please update the URL to dynatrace/dynatrace-operator or switch to the OCI registry-based approach. Update the Helm repository URL with the following commands:
helm repo remove dynatracehelm repo add dynatrace https://raw.githubusercontent.com/Dynatrace/dynatrace-operator/main/config/helm/repos/stable
The following API versions of the DynaKube CustomResourceDefinition have been removed in Dynatrace Operator version 1.7.0:
v1beta1v1beta2The following API versions of the DynaKube CustomResourceDefinition are marked for deprecation and will be removed in the specified Dynatrace Operator versions:
v1beta3 will be removed with Dynatrace Operator version 1.8.spec.oneagent.(cloudNativeFullStack|classicFullStack|hostMonitoring).autoUpdate is deprecated and should no longer be used. The flag will be removed in a future version of the Dynatrace Operator. Do one of the following:
.spec.oneagent.(cloudNativeFullStack|classicFullStack|hostMonitoring).version field to pin the version on a per-DynaKube basis.CSI sidecar binaries, located in /usr/local/bin/csi-node-driver-registrar and /usr/local/bin/livenessprobe, are now deprecated and will be removed in a future version of Dynatrace Operator.
Support for OpenShift 4.10 and 4.11 ended in March 2025. As a result, Dynatrace Operator 1.7.0 will no longer support these versions.
In Dynatrace Operator version 1.7, the DynaKube API versions v1beta1 and v1beta2 are no longer served. Applying DynaKube resources using these versions will fail. Update your DynaKube manifests to v1beta5 before upgrading the Dynatrace Operator. For more information, see Migration guide for DynaKube API versions.