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

feat(gce): support resourceManagerTags in instance template #10146

Merged
merged 3 commits into from
Sep 27, 2024

Conversation

edgarulg
Copy link
Contributor

@edgarulg edgarulg commented Sep 20, 2024

Add support for resourceManagerTags in GCE. For more details, refer to: https://cloud.google.com/compute/docs/reference/rest/v1/instanceTemplates/insert.

Enable Resource Manager Tags in the configuration of Deploy stages for the Google provider in GCE.

When setting up a GCE deployment, the resource-manager-tags input option can be found under the Advanced settings.
Captura de pantalla 2024-09-23 a la(s) 9 50 19 p m
Captura de pantalla 2024-09-23 a la(s) 9 50 47 p m

Resource manager tags must have the following structure: tagKeys/xxxxxxxx and tagValues/xxxxxxx and resource tags needs to be created before add them to the GCE cluster.

The resourceManagerTags are added in the cluster info:
Captura de pantalla 2024-09-23 a la(s) 9 53 09 p m

Once the deployment is successful, the resourceManagerTags will be attached to both the InstanceTemplate and the Instance in GCE:
Captura de pantalla 2024-09-23 a la(s) 9 57 08 p m
Captura de pantalla 2024-09-23 a la(s) 9 57 39 p m

Clouddriver PR: spinnaker/clouddriver#6282
Kork PR: spinnaker/kork#1203
Issue related: spinnaker/spinnaker#6931

@edgarulg edgarulg changed the title feat(gce): add resourceManagerTags option in config feat(gce): support resourceManagerTags in instance template Sep 24, 2024
@edgarulg edgarulg marked this pull request as ready for review September 24, 2024 04:14
@edgarulg edgarulg merged commit 554d57f into master Sep 27, 2024
2 checks passed
@edgarulg edgarulg deleted the gce-add-fields branch September 27, 2024 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants