-
Notifications
You must be signed in to change notification settings - Fork 103
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
Generate typed clientset for marketplace type(s) #106
Generate typed clientset for marketplace type(s) #106
Conversation
- Generate typed clientset for marketplace type(s) so that other components can access marketplace APIs. - We will use the typed client to query OperatorSource object(s) from operator-registry pod. https://jira.coreos.com/browse/MKTPLC-108 https://jira.coreos.com/browse/MKTPLC-244 TODO: - Add a make goal `make gen-clientset` that will generate the clientset using client-gen.
@@ -13,15 +13,8 @@ const ( | |||
CSCFinalizer = "finalizer.catalogsourceconfigs.marketplace.redhat.com" | |||
) | |||
|
|||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object |
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 had to move this for client-gen
to work. I ran operator-sdk generate k8s
after this and it did not throw any error or produce any changes to the typeset.
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.
/lgtm
/test e2e-aws-operator |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aravindhp, tkashem 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 |
components can access marketplace APIs.
object(s) from operator-registry pod.
https://jira.coreos.com/browse/MKTPLC-108
https://jira.coreos.com/browse/MKTPLC-244
TODO:
make gen-clientset
that will generate theclientset using client-gen.