func icon indicating copy to clipboard operation
func copied to clipboard

Cannot add a registry interactively

Open rhuss opened this issue 1 year ago • 6 comments

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.

rhuss avatar Nov 04 '24 11:11 rhuss

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

matejvasek avatar Nov 04 '24 16:11 matejvasek

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.

gauron99 avatar Nov 27 '24 12:11 gauron99

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.

github-actions[bot] avatar Feb 26 '25 01:02 github-actions[bot]

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.

github-actions[bot] avatar May 30 '25 01:05 github-actions[bot]

/remove-lifecycle stale

gauron99 avatar Jun 01 '25 05:06 gauron99

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.

github-actions[bot] avatar Aug 31 '25 01:08 github-actions[bot]

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.

github-actions[bot] avatar Dec 01 '25 01:12 github-actions[bot]