Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(google): Add partner metadata on clone #10161

Merged
merged 3 commits into from
Jan 21, 2025

Conversation

edgarulg
Copy link
Contributor

ISSUE

When cloning a server group using the UI. The resourceManagerTags and partnerMetadata are not populated even if the deployment is configured with resourceManagerTags and partnerMetadata.

Expected Behavior
If the server group has resourceManagerTags and partnerMetadata configured. Cloning the server group should populate these fields automatically.

Captura de pantalla 2025-01-17 a la(s) 4 07 23 p m Captura de pantalla 2025-01-17 a la(s) 4 07 40 p m Captura de pantalla 2025-01-17 a la(s) 4 08 26 p m

The main issue comes from Clouddriver because the instanceTemplate doesn't include the partner metadata. See: spinnaker/clouddriver#6334

In Deck, we just populate the resourceManagerTags and partnerMetadata in the instanceTemplateProperties under the lauchConfiguration.

@jasonmcintosh jasonmcintosh added the ready to merge Reviewed and ready for merge label Jan 21, 2025
@mergify mergify bot added the auto merged Merged automatically by a bot label Jan 21, 2025
@mergify mergify bot merged commit 3005516 into spinnaker:master Jan 21, 2025
4 checks passed
@edgarulg
Copy link
Contributor Author

@mergify backport release-1.36.x

Copy link
Contributor

mergify bot commented Jan 21, 2025

backport release-1.36.x

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jan 21, 2025
* fix(google): populate resourceManagerTags & partnerMetadata when cloning server group

* fix(google): add logs for debug

* fix(google): populate resourceManagerTags & partnerMetadata from launchConfig when clone serverGroup

(cherry picked from commit 3005516)
edgarulg added a commit that referenced this pull request Jan 21, 2025
* fix(google): populate resourceManagerTags & partnerMetadata when cloning server group

* fix(google): add logs for debug

* fix(google): populate resourceManagerTags & partnerMetadata from launchConfig when clone serverGroup

(cherry picked from commit 3005516)

Co-authored-by: Edgar Garcia <63310723+edgarulg@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merged Merged automatically by a bot ready to merge Reviewed and ready for merge target-release/1.37
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants