func
func copied to clipboard
func delete requires namespace?
func delete
Error: namespace required
➜ echo-agent func version
v0.45.0-40-gd47949c6
➜ echo-agent func delete -n default
Error: must also specify a name when specifying namespace
➜ echo-agent func delete -n default echo-agent
The --help says that default (namespace) is the default - but looks like it now requires this
hey @matzew which cluster you're trying on? (ocp)? does it happens on default namespace only? can you try on a different namespace
*[main][~/projects/github/knative/func]$ func create -l node /tmp/userfunc
Created node function in /tmp/userfunc
*[main][~/projects/github/knative/func]$ func deploy -p /tmp/userfunc
Building function image
Still building
Still building
🙌 Function built: image-registry.openshift-image-registry.svc:5000/myuser/userfunc:latest
Pushing function image to the registry "image-registry.openshift-image-registry.svc:5000" using the "openshift" user credentials
🎯 Creating Triggers on the cluster
✅ Function deployed in namespace "myuser" and exposed at URL:
https://userfunc-myuser.apps.jeramos-1085.ci-psi.rhocf-dev.net
*[main][~/projects/github/knative/func]$ func delete
Error: name required
*[main][~/projects/github/knative/func]$ cd /tmp/userfunc
[/tmp/userfunc]$ func delete
[/tmp/userfunc]$ func list
no functions found in namespace 'myuser'
[/tmp/userfunc]$ func version
v0.45.0-65-g00fb58a3
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.