Skip to content

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.

Co-Authored-By: Haseeb Tariq <hasbro17@gmail.com>
@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