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

Cannot add a registry interactively #2563

Open
rhuss opened this issue Nov 4, 2024 · 2 comments
Open

Cannot add a registry interactively #2563

rhuss opened this issue Nov 4, 2024 · 2 comments
Assignees

Comments

@rhuss
Copy link
Contributor

rhuss commented Nov 4, 2024

When no registry is set, and then doing a kn func deploy I am asked for the registry name. However, I see the following error there:

 9:02 ➜ kn func deploy --verbose
A registry for function images is required. For example, 'docker.io/tigerteam'.
X Sorry, your reply was invalid: invalid registry ["docker.io/rhuss"]: name required
? Registry for function images:

Workaround is to specify the data either via --registry or via FUNC_REGISTRY.

@matejvasek
Copy link
Contributor

@gauron99 also would you look into this too, please?

@gauron99 gauron99 self-assigned this Nov 4, 2024
@gauron99
Copy link
Contributor

gauron99 commented Nov 27, 2024

So far, I am able to partially reproduce this scenario ONLY when I intentionally delete my Functions' name in the func.yaml after func create in which case adding the --registry to func deploy does help, but only for the program to stop at different stage because "name is still required" -- otherwise I was unable to reproduce.

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

No branches or pull requests

3 participants