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 (backport #10161) #10162

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jan 21, 2025

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.


This is an automatic backport of pull request #10161 done by [Mergify](https://mergify.com).

* 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 edgarulg added the ready to merge Reviewed and ready for merge label Jan 21, 2025
@edgarulg edgarulg merged commit 5dde11f into release-1.36.x Jan 21, 2025
2 checks passed
@edgarulg edgarulg deleted the mergify/bp/release-1.36.x/pr-10161 branch January 21, 2025 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Reviewed and ready for merge target-release/1.36
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants