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 instanceTemplate properties #6334

Merged
merged 6 commits into from
Jan 21, 2025

Conversation

edgarulg
Copy link
Contributor

@edgarulg edgarulg commented Jan 17, 2025

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.

In clouddriver we include the resourceManagerTags under the instanceTemplate properties but by default the partnerMetadata is not included. See https://cloud.google.com/sdk/gcloud/reference/beta/compute/instance-templates/list

The fix only set the view option to "FULL". This ensure the partnerMetadata is included in the instanceTemplate properties.

Deck PR: spinnaker/deck#10161

@jasonmcintosh jasonmcintosh added the ready to merge Approved and ready for a 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 fcc5394 into spinnaker:master Jan 21, 2025
24 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): include partnerMetadata in InstanceTemplates

* fix(google): remove default view and add tests

* fix(google): format comment

* fix(google): remove unused imports

* fix(google): make FULL the default view in instanceTemplate client

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit fcc5394)
mergify bot added a commit that referenced this pull request Jan 21, 2025
…) (#6335)

* fix(google): include partnerMetadata in InstanceTemplates

* fix(google): remove default view and add tests

* fix(google): format comment

* fix(google): remove unused imports

* fix(google): make FULL the default view in instanceTemplate client

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit fcc5394)

Co-authored-by: Edgar Garcia <[email protected]>
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 Approved and ready for a merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants