Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

internal/pkg/scaffold/crd.go: remove CRD cache #1636

Merged
merged 2 commits into from
Jul 7, 2019

Conversation

estroz
Copy link
Member

@estroz estroz commented Jul 2, 2019

Description of the change: remove CRD cache so manifests are generated with the correct domain.

Motivation for the change: Fixes #1608. The cache didn't provide a big performance benefit anyway unless quite a few API's require parsing. This is also not an issue in controller-tools v0.2.0 CRD generator.

Closes #1608

@estroz estroz added the kind/bug Categorizes issue or PR as related to a bug. label Jul 2, 2019
@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 2, 2019
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

Also add a line to the CHANGELOG for the bugfix.

@lilic
Copy link
Member

lilic commented Jul 4, 2019

/test e2e-aws-ansible

Copy link
Member

@lilic lilic 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 Jul 4, 2019
@estroz estroz merged commit c246149 into operator-framework:master Jul 7, 2019
@estroz estroz deleted the fix-crd-names branch July 7, 2019 01:13
estroz added a commit to estroz/operator-sdk that referenced this pull request Jul 19, 2019
* internal/pkg/scaffold/crd.go: remove CRD cache so manifests are
generated with the correct domain

* CHANGELOG.md: bug fix for CRD domain names
estroz pushed a commit that referenced this pull request Jul 19, 2019
* internal/pkg/scaffold/crd.go: remove CRD cache so manifests are
generated with the correct domain

* CHANGELOG.md: bug fix for CRD domain names
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'generate openapi' - CRD name and group are wrong
4 participants