kwctl icon indicating copy to clipboard operation
kwctl copied to clipboard

Some `kwctl` subcommands need `registry://` while others don't

Open viccuad opened this issue 1 year ago • 1 comments

Installing policies from artifacthub.io I realized the following:

$ kwctl pull ghcr.io/kubewarden/policies/safe-labels:v0.1.13 # as printed in artifacthub's install button, note no registry://
$ $ kwctl scaffold manifest -t ClusterAdmissionPolicy ghcr.io/kubewarden/policies/safe-labels:v0.1.13
Error: relative URL without a base

This is true for other subcommands too:

$ kwctl rm ghcr.io/kubewarden/policies/safe-labels:v0.1.13
Error: relative URL without a base
$ kwctl rm registry://ghcr.io/kubewarden/policies/safe-labels:v0.1.13

viccuad avatar Jul 14 '23 15:07 viccuad