Skip to content

Remove createWithOptions shim for dry-run functionality#9810

Merged
knative-prow-robot merged 1 commit intoknative:masterfrom
markusthoemmes:remove-create-pod-shim
Oct 14, 2020
Merged

Remove createWithOptions shim for dry-run functionality#9810
knative-prow-robot merged 1 commit intoknative:masterfrom
markusthoemmes:remove-create-pod-shim

Conversation

@markusthoemmes
Copy link
Contributor

Proposed Changes

We have since moved to the 1.18 K8s clients so this workaround is no longer necessary and we can just use the K8s client proper.

Release Note

NONE

/assign @whaught @vagababov @julz

We have since moved to the 1.18 K8s clients so this workaround is no longer necessary and we can just use the K8s client proper.
@google-cla google-cla bot added the cla: yes Indicates the PR's author has signed the CLA. label Oct 14, 2020
@knative-prow-robot knative-prow-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Oct 14, 2020
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: markusthoemmes

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

The pull request process is described here

Details 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

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 14, 2020
@knative-prow-robot knative-prow-robot added the area/API API objects and controllers label Oct 14, 2020
@codecov
Copy link

codecov bot commented Oct 14, 2020

Codecov Report

Merging #9810 into master will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #9810      +/-   ##
==========================================
+ Coverage   87.73%   87.75%   +0.02%     
==========================================
  Files         181      180       -1     
  Lines        8578     8570       -8     
==========================================
- Hits         7526     7521       -5     
+ Misses        803      801       -2     
+ Partials      249      248       -1     
Impacted Files Coverage Δ
pkg/webhook/podspec_dryrun.go 75.00% <100.00%> (-0.87%) ⬇️
pkg/autoscaler/scaling/multiscaler.go 88.03% <0.00%> (-1.71%) ⬇️
pkg/reconciler/autoscaling/kpa/scaler.go 90.00% <0.00%> (+1.42%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ace4c8f...54bf3d5. Read the comment docs.

Copy link
Contributor

@julz julz left a comment

Choose a reason for hiding this comment

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

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 14, 2020
@knative-prow-robot knative-prow-robot merged commit 65b83e6 into knative:master Oct 14, 2020
Copy link
Contributor

@whaught whaught left a comment

Choose a reason for hiding this comment

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

Very exciting! I've been waiting for the day we could get rid of this hack!

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. area/API API objects and controllers cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. 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