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

Plumb through configurable defaulting in the webhook. #3546

Merged
merged 1 commit into from
Mar 27, 2019

Conversation

mattmoor
Copy link
Member

This makes the default values for TimeoutSeconds and Resources.Limits.CPU
given to Revisions configurable via a new config-defaults configmap that
is monitored by the webhook.

Fixes: #3434
Fixes: #3342

@knative-prow-robot knative-prow-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 27, 2019
@knative-prow-robot knative-prow-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. area/API API objects and controllers area/test-and-release It flags unit/e2e/conformance/perf test issues for product features labels Mar 27, 2019
Copy link
Contributor

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

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

@mattmoor: 7 warnings.

In response to this:

This makes the default values for TimeoutSeconds and Resources.Limits.CPU
given to Revisions configurable via a new config-defaults configmap that
is monitored by the webhook.

Fixes: #3434
Fixes: #3342

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.

@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mattmoor

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

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 27, 2019
@mattmoor
Copy link
Member Author

This is WIP until knative/pkg#342 lands and this is rebased to pull it in from the appropriate place.

@mattmoor mattmoor force-pushed the webhook-defaulting branch from 81eee72 to 5f889f1 Compare March 27, 2019 03:58
@mattmoor
Copy link
Member Author

/lint

Copy link
Contributor

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

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

@mattmoor: 0 warnings.

In response to this:

/lint

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.

@mattmoor mattmoor force-pushed the webhook-defaulting branch 3 times, most recently from be9ff38 to 5e0d375 Compare March 27, 2019 04:20
This makes the default values for TimeoutSeconds and Resources.Limits.CPU
given to Revisions configurable via a new config-defaults configmap that
is monitored by the webhook.

Fixes: knative#3434
Fixes: knative#3342
@mattmoor mattmoor force-pushed the webhook-defaulting branch from 5e0d375 to 19d03db Compare March 27, 2019 04:36
@mattmoor mattmoor changed the title [WIP] Plumb through configurable defaulting in the webhook. Plumb through configurable defaulting in the webhook. Mar 27, 2019
@knative-prow-robot knative-prow-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 27, 2019
@knative-metrics-robot
Copy link

The following is the coverage report on pkg/.
Say /test pull-knative-serving-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/apis/config/defaults.go Do not exist 100.0%
pkg/apis/config/store.go Do not exist 100.0%

Copy link
Contributor

@vagababov vagababov 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 Mar 27, 2019
@knative-prow-robot knative-prow-robot merged commit 306de3d into knative:master Mar 27, 2019
@mattmoor mattmoor deleted the webhook-defaulting branch March 27, 2019 12:29
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 area/test-and-release It flags unit/e2e/conformance/perf test issues for product features lgtm 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.

5 participants