Skip to content

*: refactor CRD/API getters #1782

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

Merged
merged 6 commits into from
Aug 9, 2019
Merged

Conversation

estroz
Copy link
Member

@estroz estroz commented Aug 5, 2019

Description of the change:

  • internal/util/k8sutil: refactor CRD getter to use more robust method of finding CRD manifests
  • cmd/operator-sdk/internal/genutil: move API getter to internal/util/k8sutil and expose function for getting strict API versions (not just subdirs of pkg/apis/<group>.

Motivation for the change: with CRD manifest name changes and general work being done to bump controller-runtime to v0.2.0, several changes are being made to how the SDK parses CRD manifests and APIs. These changes are necessary for updates made in #1642 and follow-up PR's.

@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Aug 5, 2019
@estroz estroz requested a review from hasbro17 August 8, 2019 20:30
@estroz
Copy link
Member Author

estroz commented Aug 8, 2019

/test e2e-aws-go

Copy link
Contributor

@hasbro17 hasbro17 left a comment

Choose a reason for hiding this comment

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

LGTM after nit.

@estroz estroz merged commit f509fcd into operator-framework:master Aug 9, 2019
@estroz estroz deleted the crd-getter branch August 9, 2019 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants