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

Deprecated SDK impl of DynamicRESTMapper and replace its usage for controller-runtime impl #2309

Merged
merged 8 commits into from
Dec 11, 2019

Conversation

camilamacedo86
Copy link
Contributor

@camilamacedo86 camilamacedo86 commented Dec 10, 2019

Description of the change:

  • Deprecated SDK impl of DynamicRESTMapper
  • Replace SDK usage of DynamicRESTMapper for controller runtime one.

Motivation for the change:
Closes #2299

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 10, 2019
@camilamacedo86 camilamacedo86 changed the title 2299 Deprecated SDK impl of DynamicRESTMapper and replace its usage for controller-runtime impl Dec 10, 2019
CHANGELOG.md Outdated

### Deprecated
- Deprecated the `operator-sdk generate openapi` command. CRD generation is still supported with `operator-sdk generate crds`. It is now recommended to use [openapi-gen](https://github.com/kubernetes/kube-openapi/tree/master/cmd/openapi-gen) directly for OpenAPI code generation. The `generate openapi` subcommand will be removed in a future release. ([#2276](https://github.com/operator-framework/operator-sdk/pull/2276))
- Deprecated the `github.com/operator-framework/operator-sdk/pkg/restmapper` since it was added to the [controller-runtime](https://github.com/operator-framework/operator-sdk/issues/2299) which is now recommended to be used instead of. ([#2309](https://github.com/operator-framework/operator-sdk/pull/2309))

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @estroz,

Since you did the kubernetes-sigs/controller-runtime#554 could you please help us by doing its review and confirming my understanding and if it is ok?

Copy link
Member

@estroz estroz 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 addressing nits.

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 10, 2019
Co-Authored-By: Eric Stroczynski <[email protected]>
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Dec 10, 2019
@camilamacedo86 camilamacedo86 added 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. labels Dec 11, 2019
CHANGELOG.md Outdated Show resolved Hide resolved
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Dec 11, 2019
Copy link
Contributor

@jmccormick2001 jmccormick2001 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 Dec 11, 2019
@camilamacedo86 camilamacedo86 merged commit bb234f8 into operator-framework:master Dec 11, 2019
@camilamacedo86 camilamacedo86 deleted the 2299 branch December 11, 2019 13:42
miguelsorianod added a commit to 3scale/3scale-operator that referenced this pull request Feb 14, 2020
…er-runtime one

Since operator-sdk v0.14.0 usage of DynamicRestMapper implementation done by the
operator-sdk is removed and it is now provided by controller-runtime and
configured and set by the operator-sdk
operator-framework/operator-sdk#2309
miguelsorianod added a commit to 3scale/3scale-operator that referenced this pull request Feb 15, 2020
…er-runtime one

Since operator-sdk v0.14.0 usage of DynamicRestMapper implementation done by the
operator-sdk is removed and it is now provided by controller-runtime and
configured and set by the operator-sdk
operator-framework/operator-sdk#2309
miguelsorianod added a commit to 3scale/3scale-operator that referenced this pull request Feb 15, 2020
…er-runtime one

Since operator-sdk v0.14.0 usage of DynamicRestMapper implementation done by the
operator-sdk is removed and it is now provided by controller-runtime and
configured and set by the operator-sdk
operator-framework/operator-sdk#2309
miguelsorianod added a commit to 3scale/3scale-operator that referenced this pull request Feb 17, 2020
…er-runtime one

Since operator-sdk v0.14.0 usage of DynamicRestMapper implementation done by the
operator-sdk is removed and it is now provided by controller-runtime and
configured and set by the operator-sdk
operator-framework/operator-sdk#2309
miguelsorianod added a commit to 3scale/3scale-operator that referenced this pull request Feb 19, 2020
…er-runtime one

Since operator-sdk v0.14.0 usage of DynamicRestMapper implementation done by the
operator-sdk is removed and it is now provided by controller-runtime and
configured and set by the operator-sdk
operator-framework/operator-sdk#2309
miguelsorianod added a commit to 3scale/3scale-operator that referenced this pull request Feb 20, 2020
…er-runtime one

Since operator-sdk v0.14.0 usage of DynamicRestMapper implementation done by the
operator-sdk is removed and it is now provided by controller-runtime and
configured and set by the operator-sdk
operator-framework/operator-sdk#2309
miguelsorianod added a commit to 3scale/3scale-operator that referenced this pull request Feb 28, 2020
…er-runtime one

Since operator-sdk v0.14.0 usage of DynamicRestMapper implementation done by the
operator-sdk is removed and it is now provided by controller-runtime and
configured and set by the operator-sdk
operator-framework/operator-sdk#2309
miguelsorianod added a commit to 3scale/apicast-operator that referenced this pull request Feb 28, 2020
…er-runtime one

Since operator-sdk v0.14.0 usage of DynamicRestMapper implementation done by the
operator-sdk is removed and it is now provided by controller-runtime and
configured and set by the operator-sdk
operator-framework/operator-sdk#2309
miguelsorianod added a commit to 3scale/3scale-operator that referenced this pull request Feb 28, 2020
…er-runtime one

Since operator-sdk v0.14.0 usage of DynamicRestMapper implementation done by the
operator-sdk is removed and it is now provided by controller-runtime and
configured and set by the operator-sdk
operator-framework/operator-sdk#2309
miguelsorianod added a commit to 3scale/apicast-operator that referenced this pull request Feb 28, 2020
…er-runtime one

Since operator-sdk v0.14.0 usage of DynamicRestMapper implementation done by the
operator-sdk is removed and it is now provided by controller-runtime and
configured and set by the operator-sdk
operator-framework/operator-sdk#2309
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/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.

Use restmapper from controller-runtime
4 participants