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

Generate typed clientset for marketplace type(s) #106

Merged
merged 1 commit into from
Feb 12, 2019

Conversation

tkashem
Copy link
Collaborator

@tkashem tkashem commented Feb 12, 2019

  • 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.

- 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.
@openshift-ci-robot openshift-ci-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Feb 12, 2019
@@ -13,15 +13,8 @@ const (
CSCFinalizer = "finalizer.catalogsourceconfigs.marketplace.redhat.com"
)

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
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 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.

Copy link
Member

@aravindhp aravindhp left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 12, 2019
@tkashem
Copy link
Collaborator Author

tkashem commented Feb 12, 2019

/test e2e-aws-operator

@kevinrizza
Copy link
Member

/lgtm

@tkashem
Copy link
Collaborator Author

tkashem commented Feb 12, 2019

/approve

@openshift-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 12, 2019
@openshift-merge-robot openshift-merge-robot merged commit a7ca81b into operator-framework:master Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants