-
Notifications
You must be signed in to change notification settings - Fork 248
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
conductor: update metadata for tags #3955
base: master
Are you sure you want to change the base?
conductor: update metadata for tags #3955
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have any beta Tags
resources yet. I'm wondering why we start from v1beta1 here and change the group from resourcemanager
to tags
. Do you mind sharing more information?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we have them, though they aren't documented. Here they are in 1.100:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. I didn't realize there's such a v1beta1 resource with alpha stability level and no reference doc. Considering that its group is incorrect (at least not following the convention), it's not stable like other Beta resource, and it is not that commonly used (no reference doc ), how about we treat this as a new direct alpha resource, and use the right group resourcemanager
? So we don't need to dicover the TF-based special handlings and keep it backward compatible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I see the upside?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The advantage is that we can fix the group name and save the TF triaging time.
If we keep the group the same, then you may have to add full test coverage for the TF-based TagsTagKey before adding the scifi controller (basically adds basic-
and full-
test suites in https://github.com/GoogleCloudPlatform/k8s-config-connector/tree/master/pkg/test/resourcefixture/testdata/basic/tags/v1beta1/tagstagkey besides #3766)
No description provided.