Dmitriy Kalinin
Dmitriy Kalinin
this is probably something we should do for kapp, imgpkg and other tools as well. goal is to error when yaml parser encounters a field that kbld config structs do...
let's take error message returned by whatever library we are using for yaml unmarshaling (not sure if it's sigs.k8s.io/yaml or yaml.v2).
cc @renuy -- cli packaging experience idea
> In some discussion with @cppforlife he made clear that imgpkg is not a generic image copy tool i believe what i was previously said is that "imgpkg copy" is...
but, with a slash (per original comment) ``` % ./imgpkg copy -i nginx --to-repo ip-10-0-0-146.ap-south-1.compute.internal/ Error: Building import repository ref: repository must be between 2 and 255 runes in length:...
> So instead of imgpkg push I would have a kbld configuration in my package cr that says "go to this folder for your bundle" and it would generate the...
> kapp-controller will do the helm template step for you. yeah, but we still need kbld to collect images to write out .imgpkg/images.yml at the build time.
> It seems current behavior is common to other Carvel CLIs we have received feedback before that dumping help text is confusing because it's just too much -- i agree...
i think we are saying the same thing but coming to different conclusions: output below to me is not "helping the user", it just dumps a pile of text. in...
@dependabot rebase