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

fix: singularize resource names where appropriate #197

Merged
merged 1 commit into from
Jun 2, 2024

Conversation

jinnovation
Copy link
Owner

Closes #196.

Currently, kele-resource uses the plural form of the resource name, e.g. pods, everywhere. This was done primarily out of convenience but obviously is grammatically inaccurate in some places, e.g. "get a single pods."

Here we introduce a mechanism for looking up the canonical singular form of any given resource name from the discovery cache and apply it to the kele-resource suffix labels.

Closes #196.

Currently, `kele-resource` uses the plural form of the resource name,
e.g. `pods`, everywhere. This was done primarily out of convenience but
obviously is grammatically inaccurate in some places, e.g. "get a single pods."

Here we introduce a mechanism for looking up the canonical singular form of any
given resource name from the discovery cache and apply it to the `kele-resource`
suffix labels.
@jinnovation jinnovation merged commit 0e800a5 into main Jun 2, 2024
9 checks passed
@jinnovation jinnovation deleted the jinnovation/singularize-names branch June 2, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use proper singular/plural form for kele-resource
1 participant