cppforlife/knctl

knctl snap packaging

ipolyzos opened this issue · 5 comments

I would like to share some work on packaging knctl as a snap and kindly ask your feedback and thoughts. You can find the source on https://github.com/ipolyzos/knctl-snap while the snaps can be downloaded directly from snapcraft store (currently versions v0.0.10 and v0.1.0 are unploaded).

@ipolyzos looks good, though im curious why kubectl is in that snap.

@cppforlife since kucetl is a dependency I have kept it as part of the same package in order to keep this single and self-contained and provide a supported version of kubectl by default.

@ipolyzos fair enough, do not know if snaps can depend on other snaps to pull dependencies.

@cppforlife as per the official docs, snaps, aim to bundle all of their dependencies and runtime, toward a self-containing package. A layered model of system and frameworks along deduplication mechanism are provided though. I have not been able to find a clean dependency mechanism for snaps.

i see. fair enough. thanks for sharing! this issue will should be findable in this repo and might be useful for some people.