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

bug: "resource" vs. "object" confusion in apis/apis #2922

Open
MikeSpreitzer opened this issue Mar 24, 2023 · 2 comments
Open

bug: "resource" vs. "object" confusion in apis/apis #2922

MikeSpreitzer opened this issue Mar 24, 2023 · 2 comments
Labels
area/apiexports kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@MikeSpreitzer
Copy link
Contributor

Describe the bug

The general rule in Kubernetes code is that the word "resource" means a kind or type of API object rather than an individual one, while the word "object" is used when an individual API object is meant. I know this is surprising to outsiders, since HTTP defines a "resource" to be anything with a URL or URI. But it is a convention that is fairly strongly followed in the Kubernetes code base (sadly, less so in the user-facing documentation), and it would help to continue following it here.

Following are some places that currently use the word "resource" where individual API objects are meant.

Steps To Reproduce

Read the docs

Expected Behaviour

Terminology consistent with the predominant usage in Kubernetes code.

Additional Context

No response

@MikeSpreitzer MikeSpreitzer added the kind/bug Categorizes issue or PR as related to a bug. label Mar 24, 2023
@kcp-ci-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.
After a furter 30 days, they will turn rotten.
Mark the issue as fresh with /remove-lifecycle stale.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@kcp-ci-bot kcp-ci-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 16, 2024
@kcp-ci-bot
Copy link
Contributor

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle rotten

@kcp-ci-bot kcp-ci-bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/apiexports kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
Status: Backlog
Development

No branches or pull requests

3 participants