Skip to content

Conversation

@liggitt
Copy link
Member

@liggitt liggitt commented Feb 23, 2019

What type of PR is this?
/kind bug

What this PR does / why we need it:
When sending typed objects (e.g. pods, configmaps, etc) to admission webhooks, the object/oldObject was missing an apiVersion/kind field.

Which issue(s) this PR fixes:
Fixes #74373

(will pick to release branches after review/merge)

Does this PR introduce a user-facing change?:

Fixes an issue with missing apiVersion/kind in object data sent to admission webhooks

/sig api-machinery
/cc @mbohlool

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. kind/bug Categorizes issue or PR as related to a bug. labels Feb 23, 2019
@k8s-ci-robot k8s-ci-robot added sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. area/apiserver labels Feb 23, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: liggitt

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 23, 2019
@liggitt liggitt added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Feb 23, 2019
@k8s-ci-robot k8s-ci-robot removed the needs-priority Indicates a PR lacks a `priority/foo` label and requires one. label Feb 23, 2019
@roycaihw
Copy link
Member

/assign @mbohlool

@mbohlool
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 26, 2019
@k8s-ci-robot k8s-ci-robot merged commit 7d67315 into kubernetes:master Feb 26, 2019
@liggitt liggitt deleted the webhook-gvk branch February 27, 2019 17:59
k8s-ci-robot added a commit that referenced this pull request Mar 7, 2019
…8-upstream-release-1.12

Automated cherry pick of #74448: Explicitly set GVK when sending objects to webhooks
k8s-ci-robot added a commit that referenced this pull request Mar 19, 2019
…8-upstream-release-1.13

Automated cherry pick of #74448: Explicitly set GVK when sending objects to webhooks
k8s-ci-robot added a commit that referenced this pull request Mar 21, 2019
…8-upstream-release-1.11

Automated cherry pick of #74448: Explicitly set GVK when sending objects to webhooks
@liggitt liggitt added this to the v1.14 milestone Jun 10, 2019
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/apiserver cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Admission Webhook Review Requests Don't Include GVK in Raw Object

4 participants