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

🏃 fast forward release-0.2 branch #551

Merged
merged 37 commits into from
Aug 7, 2019

Conversation

mengqiy
Copy link
Member

@mengqiy mengqiy commented Aug 6, 2019

Fast forward release-0.2 branch to HEAD.
Prepare for v0.2.0-beta.5 release.

mcristina422 and others added 30 commits July 2, 2019 18:36
Signed-off-by: Brad Hoekstra <bhoekstra@google.com>
🐛 Remove unused disableWebhookConfigInstaller flag
Logging the whole CRD resource is incredibly verbose as it includes every description of every field in the OpenAPI schema.
While the concrete Options struct documents delegating behavior, and the
main overview documents it as well, this adds a note to manager#GetClient
that it may return a non-live client, just to avoid confusion.
…anager-client-docs

📖 Note on Manager#GetClient about delegating clients
- Currently validator interface supports create and update
- Add support for delete as well, which could be a breaking change
- Users need to implement ValidateDelete since interface is updated
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
When user tries to decode an object, it should always not be empty. This
error gives people hints when they running into this kind of issues. e.g.
kube-apiserver doesn't include the object in the admission review for
deletion events.
✨ decoder now errors out when encountering an empty runtime.RawExtension
We now use https://golang.org/pkg/os/#TempDir to get the os specific
temp dir. Otherwise, it won't work for Windows users.
⚠️ support delete validation in validator interface
These behave more-or-less like functional options, except that a given
option can be applied to more than on option type, so we can deprecate
the 3 different dryrunall variants.

Things with arguments generally become type aliases, with the exception
of MatchingField, which gets deprecated in favor of MatchFields (a type
alias to fields.Set).
For field manager, update and create also support fieldmanager, so we
allow using them there.

For dryrun, it's also supported by delete, so we support setting it
there.
🐛 stop using hardcoded temp dir
…tional-options-redux

⚠️ Functional Options Redux
…ollerReference-error-message

🐛 fix grammer of error in SetControllerReference
🏃 Only log CRD name during installation
Fixes: kubernetes-sigs#317

- Currently there is no way to override MaxConcurrentReconciles using builder
- Provide a method to override controller options
- Another approach was to provide MaxConcurrentReconciles itself, but it isnt future proof incase additional options are added
implement `CollectionOptions` in `DeleteOptions` that allow to issue a
`DeleteCollection` call under the hood

add tests + examples

Co-Authored-By: Aaron Clawson <Aaron.Clawson@gmail.com>
Edited-By: Solly Ross (directxman12)
Signed-off-by: Vince Prignano <vincepri@vmware.com>
…llection

✨ Implement delete collection via delete options
🐛 Preserve GroupVersionKind during Update/Patch
Return controller from builder.Build to allow developers to use it after
it's been created by the builder; e.g., to add watches dynamically from
a reconciler.

Remove deprecated SimpleController() and Builder.WithManager().

Signed-off-by: Andy Goldstein <goldsteina@vmware.com>
Steve Harris and others added 5 commits August 4, 2019 10:21
⚠️ Allow reconcilers to add watches dynamically
🐛 surface controller options when using builder
…ontext-to-admission-handler

✨ Pass HTTP request Context through to admission Webhook handlers
@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Aug 6, 2019
@mengqiy mengqiy requested a review from droot August 6, 2019 18:25
Replace SimpleController with ControllerManagedBy.
@mengqiy
Copy link
Member Author

mengqiy commented Aug 6, 2019

Need to pick #552 as well

@mengqiy mengqiy changed the title 🏃 ff release-0.2 branch 🏃 fast forward release-0.2 branch Aug 6, 2019
@mengqiy
Copy link
Member Author

mengqiy commented Aug 6, 2019

Need to pick #552 as well

Done! PTAL

@droot droot added lgtm "Looks good to me", indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Aug 7, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: mengqiy

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 merged commit eb94491 into kubernetes-sigs:release-0.2 Aug 7, 2019
@mengqiy mengqiy deleted the release-0.2 branch August 7, 2019 00:18
DirectXMan12 pushed a commit that referenced this pull request Jan 31, 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/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet