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

imagestream names must be lowercase #3

Closed
goern opened this issue Apr 16, 2020 · 2 comments
Closed

imagestream names must be lowercase #3

goern opened this issue Apr 16, 2020 · 2 comments

Comments

@goern
Copy link
Member

goern commented Apr 16, 2020

Describe the bug

STEP-OC-CREATE-IMAGE

Error from server (NotFound): imagestreams.image.openshift.io "SrcOpsMetrics-89" not found
The ImageStream "SrcOpsMetrics-89" is invalid: metadata.name: Invalid value: "SrcOpsMetrics-89": must match "[a-z0-9]+(?:[._-][a-z0-9]+)*"

To Reproduce
Steps to reproduce the behavior:

  1. open PR in a repo with an mixed-case name

Expected behavior
repo name is .to_lower()

@goern
Copy link
Member Author

goern commented Apr 16, 2020

tektoncd/pipeline#2323

@goern
Copy link
Member Author

goern commented Apr 16, 2020

echo "$a" | tr '[:upper:]' '[:lower:]' seems to be the more appropriate way

@goern goern closed this as completed May 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant