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 (backport #6334) #6335

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jan 21, 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


This is an automatic backport of pull request #6334 done by Mergify.

* 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 mergify bot requested review from plumpy and skandragon as code owners January 21, 2025 16:22
@mergify mergify bot added the auto merged Merged automatically by a bot label Jan 21, 2025
@mergify mergify bot merged commit e759801 into release-1.36.x Jan 21, 2025
24 checks passed
@mergify mergify bot deleted the mergify/bp/release-1.36.x/pr-6334 branch January 21, 2025 16:56
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant