Skip to content

Fix-Update namespace restoration logic to respect existingResourcePolicy#13

Open
sshende-catalogicsoftware wants to merge 1 commit intov1.14.0.xfrom
Swanand-Fix-ns-bug
Open

Fix-Update namespace restoration logic to respect existingResourcePolicy#13
sshende-catalogicsoftware wants to merge 1 commit intov1.14.0.xfrom
Swanand-Fix-ns-bug

Conversation

@sshende-catalogicsoftware
  • This fix addresses an issue where namespace labels and annotations were not being updated during a restore, even when overwrite behavior was expected.
  • Updated namespace restore logic to handle ExistingResourcePolicyTypeUpdate using the processUpdateResourcePolicy function.
  • Added fallback logic to manually update labels and annotations if the patch operation fails.
  • Ensured that namespace updates only occur when the --existing-resource-policy flag is set to update.
  • Cluster-scoped resources like Namespace are included even when specific namespaces are selected.
  • Update image tag name from v1.14.0.8 to v1.14.0.9.

Fixes KUBEDR-6210

- This fix addresses an issue where namespace labels and annotations were not being updated during a restore, even when overwrite behavior was expected.
- Updated namespace restore logic to handle `ExistingResourcePolicyTypeUpdate` using the `processUpdateResourcePolicy` function.
- Added fallback logic to manually update labels and annotations if the patch operation fails.
- Ensured that namespace updates only occur when the `--existing-resource-policy` flag is set to `update`.
- Cluster-scoped resources like Namespace are included even when specific namespaces are selected.
- Update image tag name from v1.14.0.8 to v1.14.0.9.

Fixes KUBEDR-6210
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants