Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upget --watch specifying a resource uses "watch list" instead of "watch" API #305
Comments
This comment has been minimized.
This comment has been minimized.
fejta-bot
commented
May 21, 2018
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
k8s-ci-robot
added
the
lifecycle/stale
label
May 21, 2018
This comment has been minimized.
This comment has been minimized.
|
/remove-lifecycle stale |
k8s-ci-robot
removed
the
lifecycle/stale
label
May 21, 2018
This comment has been minimized.
This comment has been minimized.
stealthybox
commented
Aug 16, 2018
|
I can confirm that this is still using the WatchList api for specific resources:
|
This comment has been minimized.
This comment has been minimized.
|
/kind bug |
k8s-ci-robot
added
kind/bug
sig/cli
area/kubectl
priority/P2
labels
Sep 25, 2018
This comment has been minimized.
This comment has been minimized.
stealthybox
commented
Sep 29, 2018
|
I just noticed this in the 1.12 release notes. |
seans3
added this to Low priority
in kubectl prioritized bugs
Oct 5, 2018
This comment has been minimized.
This comment has been minimized.
fejta-bot
commented
Dec 28, 2018
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
k8s-ci-robot
added
the
lifecycle/stale
label
Dec 28, 2018
This comment has been minimized.
This comment has been minimized.
|
/remove-lifecycle stale |
k8s-ci-robot
removed
the
lifecycle/stale
label
Dec 28, 2018
This comment has been minimized.
This comment has been minimized.
|
as of 1.11, watch requests with a fieldSelector scoped to a single metadata.name can be authorized using an individual watch permission. see kubernetes/kubernetes#63469 /close |
This comment has been minimized.
This comment has been minimized.
|
@liggitt: Closing this issue. In response to this:
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. |
k8s-ci-robot
closed this
Dec 28, 2018
kubectl prioritized bugs
automation
moved this from Priority P2
to Closed
Dec 28, 2018
This comment has been minimized.
This comment has been minimized.
|
Great! |
jethrogb commentedFeb 20, 2018
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.): no
What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.): watch
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Kubernetes version (use
kubectl version):Environment:
uname -a): 4.4.0-104-generic #127-UbuntuWhat happened:
When running
kubectl get RESOURCETYPE --watch OBJECTNAME, it uses the "watch list" API with a fieldSelector on the resource name. If the current role doesn't allow watch list for this resource type, this results in a 403.What you expected to happen:
I expected the "watch" API to be used.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know: