Skip to content

[DO NOT MERGE] [datadog-operator] 2.19.1: rollback registryMigrationMode and operator image registry#2452

Open
avonengel wants to merge 1 commit intomainfrom
rollback/barx-1655-registry-migration
Open

[DO NOT MERGE] [datadog-operator] 2.19.1: rollback registryMigrationMode and operator image registry#2452
avonengel wants to merge 1 commit intomainfrom
rollback/barx-1655-registry-migration

Conversation

@avonengel
Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Precautionary rollback — do not merge unless the registry migration (PRs #2421 / #2430) needs to be reverted.

This PR is prepared in advance as a break-glass option. It should remain as a draft and only be merged if something goes wrong with the BARX-1655 registry migration rollout.

Changes:

  • Sets registryMigrationMode: "" (disabled — no DD_REGISTRY_OVERRIDE_* env vars injected)
  • Reverts operator image repository to gcr.io/datadoghq/operator
  • Bumps chart version to 2.19.1 so it is picked up as the latest stable release without --devel

The registryMigrationMode value and helper template are kept in place (not removed), so re-enabling the migration is a one-line change when ready.

Which issue this PR fixes

Special notes for your reviewer:

Rollback of #2421 and #2430. Do not merge unless the registry migration needs to be reverted.

Checklist

  • All commits are signed (see: signing commits)
  • Chart Version semver bump label has been added (datadog-operator/patch-version)
  • For datadog or datadog-operator chart or value changes, update the test baselines (run: make update-test-baselines)
  • Documentation has been updated with helm-docs (run: .github/helm-docs.sh)
  • CHANGELOG.md has been updated
  • Variables are documented in the README.md

…vert operator image to gcr.io/datadoghq

Rollback of PRs #2421 and #2430:
- Set registryMigrationMode to "" (disabled)
- Revert operator image repository to gcr.io/datadoghq/operator
- Bump chart version to 2.19.1
@avonengel avonengel added chart/datadog-operator This issue or pull request is related to the datadog-operator chart datadog-operator/patch-version Patch version bump for datadog-operator chart labels Mar 9, 2026
@avonengel avonengel requested review from a team March 9, 2026 14:54
@avonengel avonengel marked this pull request as ready for review March 9, 2026 14:57
@avonengel
Copy link
Copy Markdown
Contributor Author

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: df4343d413

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

| podLabels | object | `{}` | Allows setting additional labels for for Datadog Operator PODs |
| rbac.create | bool | `true` | Specifies whether the RBAC resources should be created |
| registryMigrationMode | string | `"auto"` | Controls gradual migration of Agent image pulls to registry.datadoghq.com. When enabled, DD_REGISTRY_OVERRIDE_* environment variables are added to the Datadog Operator deployment to pull Agent images from the global CDN-backed registry.datadoghq.com based on the global.site setting, unless global.registry is specified in the DatadogAgent custom resource (which takes precedence). This has no effect on sites not covered by the active overrides. More sites will be enabled by default in future helm-chart releases. "auto" (default): enable overrides for sites where migration is rolled out. Currently enabled: AP1 (ap1.datadoghq.com). "all": enable all per-site overrides (AP1, US1, EU1, US3). "" or unset: disable all overrides. |
| registryMigrationMode | string | `""` | Controls gradual migration of Agent image pulls to registry.datadoghq.com. When enabled, DD_REGISTRY_OVERRIDE_* environment variables are added to the Datadog Operator deployment to pull Agent images from the global CDN-backed registry.datadoghq.com based on the global.site setting, unless global.registry is specified in the DatadogAgent custom resource (which takes precedence). This has no effect on sites not covered by the active overrides. More sites will be enabled by default in future helm-chart releases. "auto" (default): enable overrides for sites where migration is rolled out. Currently enabled: AP1 (ap1.datadoghq.com). "all": enable all per-site overrides (AP1, US1, EU1, US3). "" or unset: disable all overrides. |
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3 Badge Correct registryMigrationMode default description

This row now sets registryMigrationMode to "", but the same description still says "auto" (default), which makes the documented behavior self-contradictory. In environments relying on README values to plan upgrades, this can lead to expecting DD_REGISTRY_OVERRIDE_* env vars by default when they are actually disabled, so the default text should match the new value.

Useful? React with 👍 / 👎.

@tbavelier tbavelier changed the title [datadog-operator] 2.19.1: rollback registryMigrationMode and operator image registry [DO NOT MERGE] [datadog-operator] 2.19.1: rollback registryMigrationMode and operator image registry Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chart/datadog-operator This issue or pull request is related to the datadog-operator chart datadog-operator/patch-version Patch version bump for datadog-operator chart not-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants