kyma-project / kyma-project/cli
`alpha authorize repository` fails with uppercase letters
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 125
- Forks
- 124
- PR merge metrics
- No merged PRs in 30d
Description
Description
When repo name (or org name) contains uppercase letters, the command fails
Steps to reproduce
kyma alpha authorize repository --client-id aaa --repository FilipRudy/cli --namespace fr --role admin
Fix
Set generate rolebinding name to lowercase letters, keep everything else as-is (oidc spec, rolebinding spec...)
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 implementation of the alpha authorize repository command and trace how the repository or organization name becomes the generated RoleBinding name. Reproduce with the provided command using uppercase letters, then verify the generated name is lowercase while the OIDC and RoleBinding specs remain unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100