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: Promote FirestoreDatabase to v1beta1 #3341

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jasonvigil
Copy link
Collaborator

No description provided.

@jasonvigil jasonvigil force-pushed the firestore-v1beta1 branch 2 times, most recently from a6ecbcf to c47dba4 Compare December 9, 2024 23:31
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggest dropping the change under pkg/clients/generated because of this https://github.com/GoogleCloudPlatform/k8s-config-connector/blob/master/pkg/clients/generated/README.md

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I am trying to keep the generated clients updated for all these legacy resources that were created before that change. No reason why, other than just consistency. For all future direct controllers, will not generate the clients. Is it ok to update the generated client in this case, even though it isn't used?

Copy link
Collaborator

@yuwenma yuwenma Dec 13, 2024

Choose a reason for hiding this comment

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

I understand the consistency concern. But the way to generate these code introduces bug to our code base (and we won't fix them). For direct resources, the lib is already in ./apis. So this is just adding functionally duplicated, but buggy code.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

After offline discussion, I now recognize these generated libs are for customer use, and we said they are no longer updated. Reverted these changes.

Copy link
Collaborator

@yuwenma yuwenma left a comment

Choose a reason for hiding this comment

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

/approve

one nit, otherwise looks good!

Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: yuwenma

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants