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

genapi: Add support for TagsTagKey #1422

Merged

Conversation

justinsb
Copy link
Collaborator

@justinsb justinsb commented Mar 25, 2024

Also fix up Update method to match Create method.

@justinsb justinsb changed the title genapi: Add support for TagsTagKey WIP: genapi: Add support for TagsTagKey Mar 25, 2024
@justinsb
Copy link
Collaborator Author

justinsb commented Apr 9, 2024

I'm going to rebase this, but

/assign @acpana

@justinsb justinsb added this to the 1.117 milestone Apr 9, 2024
@justinsb justinsb force-pushed the genapi_resourcemanager_tags branch from cecf827 to bcb7dee Compare April 9, 2024 22:11
@justinsb justinsb changed the title WIP: genapi: Add support for TagsTagKey genapi: Add support for TagsTagKey Apr 9, 2024
Copy link
Collaborator

@acpana acpana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/hold for author to merge
/lgtm
/approve

Thanks for rebasing this 🙏🏼 💯

I'd ignore the license-lint failure:

  1. Fixed it in ci:refactor: reorder steps #1534
  2. Verified it's not a real issue locally (ran w the fix).

@@ -46,5 +46,5 @@ type Adapter interface {

// Update updates an existing GCP object.
// This should only be called when Find has previously returned true.
Update(ctx context.Context) (*unstructured.Unstructured, error)
Update(ctx context.Context, u *unstructured.Unstructured) error
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just to highlight, we are expecting that implementors will use u to write the status to it, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. Specifically we write to the Status. I think in another PR I added more docs, I'll try to track those down!

pkg/controller/direct/resourcemanager/tagkey_controller.go Outdated Show resolved Hide resolved
pkg/controller/direct/resourcemanager/tagkey_controller.go Outdated Show resolved Hide resolved
Also fix up Update method to match Create method.

Co-authored-by: alex <[email protected]>
@justinsb justinsb force-pushed the genapi_resourcemanager_tags branch from f268ede to a4df877 Compare April 9, 2024 23:49
@acpana
Copy link
Collaborator

acpana commented Apr 10, 2024

/lgtm
/approve

thanks for addressing comments

@google-oss-prow google-oss-prow bot added the lgtm label Apr 10, 2024
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: acpana

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@justinsb justinsb merged commit b8aa5ac into GoogleCloudPlatform:master Apr 10, 2024
7 of 9 checks passed
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.

2 participants