Adjust source list-types to not require cluster admin permissions when using -oyaml
Open
Nobody has claimed this yet.
kind/feature
triage/accepted
- Dominant language
- Go
- Stars
- 388
- Forks
- 274
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 8
Description
Feature request
Currently, running kn source list-types -oyaml requires cluster admin permissions as it works with CustomResourcesDefinition and CurtomResourceDefinitionList.
The goal is to fix/adjust this command to not require cluster admin permissions.
Related to discussions in https://github.com/knative/client/pull/1384
Use case
- A user or project admin can list available source types without requiring cluster admin permissions.
UI Example
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the kn source list-types command and trace the -oyaml path that accesses CustomResourceDefinitions and CustomResourceDefinitionList. Confirm the command can list available source types for a user or project admin without cluster-admin permissions, while preserving YAML output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100