[DO NOT MERGE] [datadog-operator] 2.19.1: rollback registryMigrationMode and operator image registry#2452
[DO NOT MERGE] [datadog-operator] 2.19.1: rollback registryMigrationMode and operator image registry#2452
Conversation
|
@codex review |
There was a problem hiding this comment.
💡 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. | |
There was a problem hiding this comment.
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 👍 / 👎.
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:
registryMigrationMode: ""(disabled — noDD_REGISTRY_OVERRIDE_*env vars injected)gcr.io/datadoghq/operator2.19.1so it is picked up as the latest stable release without--develThe
registryMigrationModevalue 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
datadog-operator/patch-version)datadogordatadog-operatorchart or value changes, update the test baselines (run:make update-test-baselines).github/helm-docs.sh)CHANGELOG.mdhas been updatedREADME.md