-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAT-15262]Add more checks for non-namespace scope supported universes
Summary: 1. Added check to ensure non-namespace scope supported universes are not allowed to pass Namespaced services in overrides. 2. Moved the subtask location for Namespaced service handling. Earlier we were re-owning and deleting namespaced services before creating new ones. Now moved it to after new services are created and just before the current pods are deleted. Test Plan: Verified manually using following scenarios: # If universe uses old naming style, verified Namespaced scope services are not allowed in overrides list. # Verified corner case scenario with empty serviceEndpoints array works correctly: `serviceEndpoints: []` # Verified corner case scenario with serviceEndpoints override not applied as overrides works correctly. # Verified the subtask position move from before new Pods creation to after new Pods creation works correctly. Reviewers: anijhawan, #yba-api-review Reviewed By: anijhawan, #yba-api-review Subscribers: yugaware Differential Revision: https://phorge.dev.yugabyte.com/D38031
- Loading branch information
1 parent
240e8f0
commit 2a40433
Showing
5 changed files
with
61 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters