Cannot add a registry interactively
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.
@gauron99 also would you look into this too, please?
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.
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.
/remove-lifecycle stale
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.