New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Kubescape to packages management for easier installation #400
Comments
Isn't |
@avinashupadhya99 It is, but we are having issues with it as you noticed 😏 |
@dwertent I'm down to fix this issue. So, what exactly needs to be done to fix this and where could I possibly start? |
Hi @dwertent , |
Hey @dwertent , I am interested to contribute in this issue. How can i get started? |
hi @dwertent , I want to fix this issue, please tell me where exactly can i start from and what needs to be possibly done ? |
Hey, I would like to work on this issue! |
Thank you to everyone who has expressed an interest in packaging kubescape. Homebrew support is underway again, so the outstanding actions are Debian and Red Hat packages. If you're interested in getting started, please look at: The correct integration would probably be a GitHub Action to generate new debs/rpms on each release. If you're interested in contributing either package, please create an issue and link back to this one. I'll link your issue to the description. |
Hi @craigbox I'm very interesting on working on this issue as previously, I've worked with bash scripts. |
This issue is being submitted for the 2023 Mar-May LFX Mentorship program. We've specified an end state. It will be up to the mentee selected for the project to come up with the design proposal on how to get there! The integration would definitely be with our current release pipeline which is driven by GitHub. |
Hi community! I would like to apply for the 2023 Mar-May LFX Mentorship program to resolve this issue. I have completed my initial investigation and here's my proposal. Any feedback is welcomed. For distributing the packages, of course, we can build that manually, just like one of my previous projects. However, I highly recommend openSUSE's open build service (OBS). I have also created a demo. OBS allows easy distribution of the packages. Users can add a repository according to the guide here. The Linux package manager in their system will ensure that users can get the update quickly. One thing to note is that OBS doesn't support Internet connections when building, so it can't fetch dependencies directly from the Internet. As a result, I pre-fetch the dependencies and used golang vendor build mode to resolve the dependencies issue. Now OBS supports operating systems such as Debian, Ubuntu, Fedora, Mageia, openSUSE, and SLE, with architectures like x86_64, aarch64, i586, s390x, armv6l, armv7l, and ppc64le. What is more, I have also uploaded the packages to Ubuntu PPA, so users can easily configure the repository for Ubuntu's package manager. The work I would do during the mentorship will include adding more tests to ensure the packaging is OK. I would also integrate the OBS repository update feature (automate Thank you! |
@HollowMan6 I think you have to propose all of that in your application. |
Yes, I will. I post here just to receive feedback, like if there're any potential things that I didn't cover. |
(For the record, every time I see your handle I sing this song in my head 😊) That seems like a good scope of work, and depending on how quickly it was completed, I would look to applying similar rigour to platforms such as Nix, krew, and our client container (used by a GitHub action to run Kubescape). |
Thank you for your feedback! I think I can manage to add kubescape to platforms such as Nix, krew, and also the client container with similar rigour. I have experience maintaining several nixpkgs as well, and I would only need to figure out how to add kubescape into krew when all the others are completed. Looking forward to working with you! |
Krew is already being handled. Thanks for your help! |
I can see that actually kubescape is already available in nixpkgs. Then just as mentioned, krew has already been handled, the docker container is also available, I will try my best to see if there are any room for improvement once the rpm and deb work have been completed as proposed. |
Let's close this as everything mentioned on this issue is done, and I have graduated from LFX. 😊 |
Songlin Jiang (@HollowMan6) is an LFX mentee for the Kubescape project for Term 1 2023.
The primary goal is to ensure that when a new release is made in this repo, the most commonly used installation methods are available:
curl | bash
:apt
/deb
, for Debian and Ubuntu (New)yum
/RPM
, for Red Hat and SUSE (New)A second deliverable may include support for some other useful formats:
kubescape
Docker containerThe third phase will involve improvements to the Helm components, if time allows.
The text was updated successfully, but these errors were encountered: