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

Add client to fluentbit-operator #51

Merged
merged 2 commits into from
May 27, 2021
Merged

Conversation

keladhruv
Copy link
Member

Context
Currently the fluentbit-operator repo does not have a client which can be readily used. This PR adds a client to interact with the fluentbit-operator.

Significant Changes
There are the following significant changes that have been made as part of this PR-

  • Adding a client using code-generator
  • Moving the /api/v1alpha2 folder to /api/fluentbitoperator/v1alpha2 to make it compatible with the client-gen format.

// GroupVersion is group version used to register these objects
GroupVersion = schema.GroupVersion{Group: "logging.kubesphere.io", Version: "v1alpha2"}
// SchemeGroupVersion is group version used to register these objects
SchemeGroupVersion = schema.GroupVersion{Group: "logging.kubesphere.io", Version: "v1alpha2"}
Copy link
Member Author

Choose a reason for hiding this comment

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

This change makes it compatible with the code generated by client-gen

@benjaminhuo
Copy link
Member

@keladhruv This another great PR from digital ocean.
Thanks very much!
We would like to invite you and @bojand as the maintainer of FluentBit Operator.

@benjaminhuo
Copy link
Member

/lgtm

wanjunlei
wanjunlei approved these changes May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants