Skip to content

Hide the admin endpoint of queue-proxy #3279

Closed

Description

@tcnghia

In what area(s)?

/area networking

What version of Knative?

HEAD

Expected Behavior

queue-proxy's /quitquitquit endpoint can only be used by the Kubelet or privileged user.

If we hide it and change to use exec ReadinessProbe / LifecycleHooks this will be true.

Actual Behavior

queue-proxy's /quitquitquit endpoint can be accessible any user that can run code in the cluster.

Steps to Reproduce the Problem

  • Create a pod that curl <revision-pod>:8022/quitquitquit .
  • See that such pod enters lameduck mode.

Activity

  1. added
    kind/bug
    on Feb 19, 2019
  2. added this to the Serving 0.5 milestone on Feb 19, 2019
  3. andrew-su commented on Feb 25, 2019

    @andrew-su
    Contributor

    /assign

  4. knative-prow-robot commented on Feb 25, 2019

    @knative-prow-robot
    Contributor

    @xtreme-andrew-su: GitHub didn't allow me to assign the following users: xtreme-andrew-su.

    Note that only knative members and repo collaborators can be assigned.
    For more information please see the contributor guide

    Details

    In response to this:

    /assign

    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.

  5. andrew-su commented on Feb 26, 2019

    @andrew-su
    Contributor

    /assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/networkingkind/bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions