Skip to content

Prepare for v0.6.1 #1042

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 54 commits into from
Jul 10, 2020
Merged

Prepare for v0.6.1 #1042

merged 54 commits into from
Jul 10, 2020

Conversation

vincepri
Copy link
Member

/assign @alvaroaleman

ruromero and others added 30 commits April 14, 2020 12:16
There is a set of cases where ppl might want to wrap the
defaultNewClient, for example:

* To force dry run (currently possible via a manager opt)
* To enforce usage of a given namespace
🐛 cannot specify ControlPlane in envtest.Environment
Signed-off-by: ruromero <[email protected]>
The controller contains the unused Config attribute. Since its exported,
linters will not complain about it, but since its in an internal
package, it is not part of our public api.
🏃 Remove unsed Config attribute from controller
🐛 Reset resource version if fake client Create call failed
Currently, the controller gets a cache injected and waits for that cache
to sync before starting workers. This model works well for single
cluster usecases, but doesn't work at all for multi-cluster usecases, as
the source may be using a completely different cache.

This PR adds a new source.SyncingSource interface and makes the
controller wait for all sources that implement it. Apart from solving
the issue mentioned in the title, this also allows to implement custom
sources that need syncing.
Add a gauge for requests currently being handled and a counter for the total amount of requests processed.

Used [prometheus/promhttp](https://pkg.go.dev/github.com/prometheus/client_golang/prometheus/promhttp?tab=doc) package which provides nice decorators for `Http.Handler` to handle the metrics instead of the custom code.
✨ Controller: Let sources sync even if they use a different cluster
This created to much noise and broke BC.
✨ Introduce controllerutil.Object interface
🐛 Fix scheme used by `DeleteAllOf` in fake client
📖 Prevent errors to be logged multiple times in builtins example
✨ Add ContainsFinalizer helper to the controllerutil
✨ Migrate controllerutil AddFinalizer and RemoveFinalizer to controllerutil.Object and deprecate *WithError functions
🐛 fix(dependency) Use github.com/fsnotify/fsnotify
k8s-ci-robot and others added 18 commits June 9, 2020 08:33
🏃 Remove unused attributes from controller
🏃 Move pwittrock from emeritus approvers to approvers
[0.6] Update go.mod dependencies patch versions (v0.18.4)
 🏃 Cleanup controller internal logger
🏃 Clarify log line in apiutil.GVKForObject
🏃 Update json-patch dependency to e83c0a1c26c8
Trying to use a zeroed Manager results in immediate panic on startup, so
let's create it properly.

Signed-off-by: Morten Siebuhr <[email protected]>
feat:remove the whitelist word from our codebase
feat:Remove master word from our codebase
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vincepri

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jul 10, 2020
@k8s-ci-robot
Copy link
Contributor

k8s-ci-robot commented Jul 10, 2020

@vincepri: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
pull-controller-runtime-apidiff-release-0-6 ea795f6 link /test pull-controller-runtime-apidiff-release-0-6

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@vincepri
Copy link
Member Author

/test pull-controller-runtime-test-release-0-6

Copy link
Member

@alvaroaleman alvaroaleman left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 10, 2020
@k8s-ci-robot k8s-ci-robot merged commit 5118ae5 into release-0.6 Jul 10, 2020
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.