Skip to content

(c-r v0.2.0) *: bump controller-runtime to v0.2.0, update APIs#1839

Merged
estroz merged 15 commits intooperator-framework:refactor/controller-runtime-v0.2.0from
estroz:c-r-v0.2.0-rc-0
Sep 3, 2019
Merged

(c-r v0.2.0) *: bump controller-runtime to v0.2.0, update APIs#1839
estroz merged 15 commits intooperator-framework:refactor/controller-runtime-v0.2.0from
estroz:c-r-v0.2.0-rc-0

Conversation

@estroz
Copy link
Copy Markdown
Member

@estroz estroz commented Aug 19, 2019

Description of the change:

  • bump controller-runtime versions to v0.2.0 (released 8/22)
  • pin controller-runtime versions in Ansible and Helm go.mod/Gopkg.toml scaffolds
  • update client.List() calls with new option pattern introduced in v0.2.0

Motivation for the change: controller-runtime merged an API options redux in v0.2.0-beta.5, then released v0.2.0. This PR modifies SDK code that uses affected APIs.

Migrated Ansible and Helm projects use controller-runtime directly in their cmd/manager/main.go files, so controller-runtime should be pinned in their go.mod/Gopkg.toml scaffolds.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 19, 2019
@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Aug 19, 2019
@estroz estroz changed the title [WIP] (c-r v0.2.0) *: bump controller-runtime to v0.2.0-rc.0, update APIs (c-r v0.2.0) *: bump controller-runtime to v0.2.0-rc.0, update APIs Aug 19, 2019
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 19, 2019
Comment thread go.mod Outdated
Comment thread internal/pkg/scaffold/ansible/go_mod.go Outdated
Comment thread internal/util/k8sutil/options.go
Comment thread internal/util/k8sutil/options.go
Comment thread test/e2e/_incluster-test-code/memcached_test.go Outdated
@joelanford
Copy link
Copy Markdown
Member

@estroz Should we go ahead and bump directly to 0.2.0 now that it's released?

@estroz estroz requested a review from joelanford August 23, 2019 21:38
@estroz estroz changed the title (c-r v0.2.0) *: bump controller-runtime to v0.2.0-rc.0, update APIs (c-r v0.2.0) *: bump controller-runtime to v0.2.0, update APIs Aug 23, 2019
Copy link
Copy Markdown
Member

@joelanford joelanford 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 last few nits

Comment thread doc/user/client.md Outdated
Comment thread CHANGELOG.md
Comment thread doc/user/client.md Outdated
Comment thread doc/user/client.md Outdated
Co-Authored-By: Haseeb Tariq <hasbro17@gmail.com>
Copy link
Copy Markdown
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.

Looks good overall. Just some nits and corrections in the client documentation.

Comment thread doc/user/client.md Outdated
Comment thread doc/user/client.md Outdated
Comment thread doc/user/client.md Outdated
Comment thread doc/user/client.md
Comment thread doc/user/client.md Outdated
Comment thread doc/user/client.md Outdated
Comment thread doc/user/client.md
Comment thread pkg/test/client.go
Co-Authored-By: Haseeb Tariq <hasbro17@gmail.com>
Copy link
Copy Markdown
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

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.

5 participants