@liggitt: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.
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.
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.![]()
these have been marked as deprecated in code for many releases, and all client accesses have switched to using the ?watch=true access method, but documentation was never updated
@kubernetes/sig-api-machinery-api-reviews @kubernetes/api-reviewers
https://github.com/kubernetes/kubernetes/pull/65147
[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
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
The /proxy prefix paths were removed in 1.10 in #59884
I'd like to get deprecation of the /watch prefix paths on the record for 1.11.
@hzxuzhonghu commented on this pull request.
In staging/src/k8s.io/apiserver/pkg/endpoints/installer.go:
> @@ -382,7 +382,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
actions = appendIf(actions, action{"LIST", resourcePath, resourceParams, namer, false}, isLister)
actions = appendIf(actions, action{"POST", resourcePath, resourceParams, namer, false}, isCreater)
actions = appendIf(actions, action{"DELETECOLLECTION", resourcePath, resourceParams, namer, false}, isCollectionDeleter)
- // DEPRECATED
Haven't been deprecated long ago? Can we remove now?
@liggitt commented on this pull request.
In staging/src/k8s.io/apiserver/pkg/endpoints/installer.go:
> @@ -382,7 +382,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
actions = appendIf(actions, action{"LIST", resourcePath, resourceParams, namer, false}, isLister)
actions = appendIf(actions, action{"POST", resourcePath, resourceParams, namer, false}, isCreater)
actions = appendIf(actions, action{"DELETECOLLECTION", resourcePath, resourceParams, namer, false}, isCollectionDeleter)
- // DEPRECATED
it wasn't formally announced, so not yet.
@hzxuzhonghu commented on this pull request.
In staging/src/k8s.io/apiserver/pkg/endpoints/installer.go:
> @@ -382,7 +382,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
actions = appendIf(actions, action{"LIST", resourcePath, resourceParams, namer, false}, isLister)
actions = appendIf(actions, action{"POST", resourcePath, resourceParams, namer, false}, isCreater)
actions = appendIf(actions, action{"DELETECOLLECTION", resourcePath, resourceParams, namer, false}, isCollectionDeleter)
- // DEPRECATED
ic
I was just saying on a api coverage spreadsheet that all these should be just deleted at this point...
cc @mbohlool to double check the open api spec
I was just saying on a api coverage spreadsheet that all these should be just deleted at this point...
cc @mbohlool to double check the open api spec
unfortunately, the endpoints are listed throughout the openapi spec, with no doc-visible deprecation notices
@liggitt: PR needs rebase.
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.
—
@liggitt needs-rebase (also, I'm happy to lgtm after rebase unless you specifically need approval from the aformentioned reviewers)
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: lavalamp, liggitt
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
—
@liggitt: The following test failed, say /retest to rerun them all:
| Test name | Commit | Details | Rerun command |
|---|---|---|---|
| pull-kubernetes-verify | 204d70c | link | /test pull-kubernetes-verify |
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.
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. I understand the commands that are listed here.
/go/src/k8s.io/kubernetes/api/openapi-spec is out of date. Please run hack/update-openapi-spec.sh
/go/src/k8s.io/kubernetes/api/swagger-spec is out of date. Please run hack/update-swagger-spec.sh
New changes are detected. LGTM label has been removed.
regenerated, retagging
@liggitt: The following test failed, say /retest to rerun them all:
| Test name | Commit | Details | Rerun command |
|---|
| pull-kubernetes-verify | 3cf4d77 | link | /test pull-kubernetes-verify |
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.
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. I understand the commands that are listed here.
—
/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).
Review the full test history for this PR.
Silence the bot with an /lgtm cancel comment for consistent failures.
@liggitt: The following test failed, say /retest to rerun them all:
| Test name | Commit | Details | Rerun command |
|---|---|---|---|
| pull-kubernetes-verify | 3cf4d77 | link | /test pull-kubernetes-verify |
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.
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. I understand the commands that are listed here.
—
/go/src/k8s.io/kubernetes/docs/api-reference is out of date. Please run hack/update-api-reference-docs.sh
... sure would have been nice if it said this last time
/lgtm cancel
to stop fejta-bot from /retest spamming
third time's the charm
/test all [submit-queue is verifying that this PR is safe to merge]
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here.
Merged #65147 into master.
Why is this deprecated? This is a regression in terms of RBAC
Why is this deprecated?
The top-level path segment access patterns (for proxy and watch) were deprecated in favor of the proxy subresource and the watch query parameter around 1.2
This is a regression in terms of RBAC
That is incorrect, watch requests are still separately permissioned using the watch verb. Prior to this, there were two URLs that would make a watch request (/watch/… and …?watch=true), and this announces deprecation of the first
That is incorrect, watch requests are still separately permissioned using the watch verb.
With the Watch API, you can set watch permissions on a single named resource. With WatchList, you need to give permissions on all resources of a particular type. (Related kubernetes/kubectl#305)
you can still set watch permissions on a single named item, watched with ?watch=true&fieldSelector=metadata.name=<name>