Skip to content
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

REQUEST: Migrate aquasecurity/vuln-list-k8s #4873

Closed
Tracked by #1
PushkarJ opened this issue Apr 8, 2024 · 27 comments
Closed
Tracked by #1

REQUEST: Migrate aquasecurity/vuln-list-k8s #4873

PushkarJ opened this issue Apr 8, 2024 · 27 comments
Assignees
Labels
area/github-repo Creating, migrating or deleting a Kubernetes GitHub Repository sig/security Categorizes an issue or PR as relevant to SIG Security.

Comments

@PushkarJ
Copy link
Member

PushkarJ commented Apr 8, 2024

New repo, staging repo, or migrate existing

migrate existing: aquasecurity/vuln-list-k8s

Is it a staging repo?

no

Requested name for new repository

cve-feed-osv

Which Organization should it reside

kubernetes-sigs

Who should have admin access?

chen-keinan,itaysk, knqyf263, tabbysable, iancoldwater, pushkarj

Who should have write access?

pushkarj, ericsmalling

Who should be listed as approvers in OWNERS?

chen-keinan, itaysk, knqyf263, tabbysable, iancoldwater, pushkarj

Who should be listed in SECURITY_CONTACTS?

itaysk, knqyf263, tabbysable, iancoldwater, pushkarj

What should the repo description be?

OSV JSON format file generator for official Kubernetes CVE Feed

What SIG and subproject does this fall under?

sig-security

Please provide references to appropriate approval for this new repo

Meeting minutes: https://docs.google.com/document/d/1GgmmNYN88IZ2v2NBiO3gdU8Riomm0upge_XNVxEYXp0/edit#bookmark=id.kywwheybam91

Lazy Consensus announcement: https://groups.google.com/g/kubernetes-sig-security/c/FxXegIeO198

Additional context for request

We will be creating a separate branch where code from here: https://github.com/aquasecurity/vuln-list-update/tree/main/k8s will be migrated to https://github.com/aquasecurity/vuln-list-k8s

@PushkarJ PushkarJ added the area/github-repo Creating, migrating or deleting a Kubernetes GitHub Repository label Apr 8, 2024
@PushkarJ
Copy link
Member Author

/sig security

@k8s-ci-robot k8s-ci-robot added the sig/security Categorizes an issue or PR as relevant to SIG Security. label Apr 12, 2024
@mrbobbytables
Copy link
Member

if its just a subdir of the repo, I would opt to create a new repo and move the code over - there are only 5 commits that touch that dir.

@itaysk
Copy link

itaysk commented May 6, 2024

the primary contributor is going to be @chen-keinan, so please add him too. I (@itaysk) won't be contributing actively, so feel free to remove me, unless I'm needed for redundency.

@PushkarJ
Copy link
Member Author

PushkarJ commented May 12, 2024

Thanks @itaysk I have updated the description now to include @chen-keinan

@mrbobbytables we actually worked together to move all the code that we need to migrate into the new branch on this repo: https://github.com/aquasecurity/vuln-list-k8s/tree/migrate-k8s-org So this branch if made as main branch for the new repo with all the other kubernetes repo skeleton (license, etc), we would be golden! Let us know how I can help you and GitHub admin team to make this happen :)

@mrbobbytables
Copy link
Member

@PushkarJ if you can, stage all the things needed to be a k8s project first - https://github.com/kubernetes/community/blob/master/github-management/kubernetes-repositories.md#rules-for-donated-repositories

the license headers etc (the stuff in the repo skeleton part you mentioned)

@PushkarJ
Copy link
Member Author

@mrbobbytables Branch is now updated with template files and headers. Please let me know if we missed nothing :) 🙏

@itaysk
Copy link

itaysk commented Jun 13, 2024

Hi there, is there anything else required to proceed?

@MadhavJivrajani
Copy link
Contributor

/assign

@MadhavJivrajani
Copy link
Contributor

MadhavJivrajani commented Jun 17, 2024

@PushkarJ / @itaysk a couple of items for the first step of migration:

They will need to apply for membership before they can be given admin access to the migrated repo: https://github.com/kubernetes/community/blob/master/community-membership.md#requirements

@ericsmalling since you're already part of the Kubernetes org, I can PR you in to the kubernetes-sigs org, you do not need to apply for membership anew. 🙂

However, this should be non-blocking for the migration itself, they can always be added in as and when the org membership requirements are met.

Couple more things:

  • [Blocking] We need to ensure that all existing committers to the code of vuln-list-k8s have signed the CLA: https://github.com/kubernetes/community/tree/master/contributors/guide#sign-the-cla
    • This is especially true for folks that will be given admin/write access.
    • This means, for the migrate-k8s-org branch, we have 2 non-bot users who have committed to this branch: @chen-keinan and @knqyf263. Could you both confirm if you have signed the CLA? If you have not, please do so and we can proceed with the migration. If you have concerns with signing the CLA and you do not wish to, please lmk in that case as well, we have a process of documenting exceptions, but please note that this will prohibit you from making contributions once the repo is migrated.
  • Let's also merge the migrate-k8s-org branch into main pre-migration.

@chen-keinan
Copy link

chen-keinan commented Jun 17, 2024

@MadhavJivrajani thank you for the info, I have signed the CLA. please do let me know if anything else is required

@knqyf263
Copy link

@MadhavJivrajani It looks like I've already signed the CLA before. Please let me know if I'm missing something.
kubernetes-sigs/contributor-playground#1251

@knqyf263
Copy link

@MadhavJivrajani Also, I have several questions regarding membership requirements.

  • Enabled two-factor authentication on their GitHub account
  • Ensure GitHub username, company affiliation and email in CNCF gitdm are up to date. If you are not affiliated with a company please mark yourself as "Independent".
    • I marked myself as "Independent". Should I still do something?
  • Ensure affiliation is up to date in [openprofile.dev].
  • Have made multiple contributions to the project or community, enough to demonstrate an ongoing and long-term commitment to the project. Contributions should include, but is not limited to:
  • Subscribed to dev@kubernetes.io
  • Have read the contributor guide
  • Actively contributing to 1 or more subprojects.
  • Sponsored by 2 reviewers. Note the following requirements for sponsors:
  • Open an issue against the kubernetes/org repo
    • Should I open it myself?
  • Have your sponsoring reviewers reply confirmation of sponsorship: +1
  • Once your sponsors have responded, your request will be reviewed by the Kubernetes GitHub Admin team, in accordance with their SLO. Any missing information will be requested.

@MadhavJivrajani
Copy link
Contributor

@knqyf263

I marked myself as "Independent". Should I still do something?

That should be okay 👍🏼

Should I open it myself?

Yes! If you go here: https://github.com/kubernetes/org/issues/new/choose and select "Org Membership Request", you should have the required template to fill out.

@chen-keinan
Copy link

@knqyf263

I marked myself as "Independent". Should I still do something?

That should be okay 👍🏼

Should I open it myself?

Yes! If you go here: https://github.com/kubernetes/org/issues/new/choose and select "Org Membership Request", you should have the required template to fill out.

@MadhavJivrajani which users should we put under I have two sponsors that meet the sponsor requirements listed in the community membership guidelines ?

@PushkarJ
Copy link
Member Author

You can put my name as one of the sponsors

@knqyf263
Copy link

@MadhavJivrajani Can we put your name? Or should we look for someone else?

@PushkarJ
Copy link
Member Author

@reylejano has offered to be second sponsor

@knqyf263
Copy link

@PushkarJ @reylejano Thanks for sponsoring. I've opened an issue.
#5031

@chen-keinan
Copy link

@PushkarJ @reylejano also want to thank you for the sponsorship.
here is my request #5032

@MadhavJivrajani
Copy link
Contributor

Hey @PushkarJ, can you please take a look at the remaining items here: #4873 (comment)?

@PushkarJ
Copy link
Member Author

Let's also merge the migrate-k8s-org branch into main pre-migration.

@MadhavJivrajani This is probably not possible. Is it okay to keep the code in the same branch and then migrate that branch as main branch in the new repo? Let me know if anything else is missing. I read the whole comment twice to check if anything else is missing.

@chen-keinan
Copy link

@PushkarJ / @itaysk a couple of items for the first step of migration:

@PushkarJ @MadhavJivrajani please put me as admin

@PushkarJ
Copy link
Member Author

PushkarJ commented Jul 3, 2024

@MadhavJivrajani please let us know if anything else is pending. I summarized all the steps below.

Hopefully we covered all the tasks and thank you again for being so descriptive in what was needed to make progress on this!


I will need to invite an admin of the https://github.com/aquasecurity/vuln-list-k8s repo to one of our temporary orgs through which we can migrate the repository, please lmk whom I can invite for that.
We have the following folks listed with admin and write privileges, but they are not part of the kubernetes-sigs GitHub org:
@chen-keinan
@knqyf263
@ericsmalling
They will need to apply for membership before they can be given admin access to the migrated repo: https://github.com/kubernetes/community/blob/master/community-membership.md#requirements

@ericsmalling since you're already part of the Kubernetes org, I can PR you in to the kubernetes-sigs org, you do not need to apply for membership anew. 🙂

However, this should be non-blocking for the migration itself, they can always be added in as and when the org membership requirements are met.

All are member of k8s Org now as per #5031 and #5032 and #5026


Couple more things:

[Blocking] We need to ensure that all existing committers to the code of vuln-list-k8s have signed the CLA: https://github.com/kubernetes/community/tree/master/contributors/guide#sign-the-cla
This is especially true for folks that will be given admin/write access.
This means, for the migrate-k8s-org branch, we have 2 non-bot users who have committed to this branch: @chen-keinan and @knqyf263. Could you both confirm if you have signed the CLA? If you have not, please do so and we can proceed with the migration. If you have concerns with signing the CLA and you do not wish to, please lmk in that case as well, we have a process of documenting exceptions, but please note that this will prohibit you from making contributions once the repo is migrated.

CLA is signed by both #4873 (comment) and #4873 (comment)


Let's also merge the migrate-k8s-org branch into main pre-migration.

If the code to be migrated has to be on "main" branch then @itaysk suggested that he would be open to creating a temporary fork of the source repo where the fork's main branch is == migrate-k8s-org branch in terms of commit history. Let us know if you would prefer that and we can make it happen!

@MadhavJivrajani
Copy link
Contributor

MadhavJivrajani commented Jul 4, 2024

@PushkarJ thanks for the rundown. Here's what I'm thinking I can do:
I can create a blank repository and then push the relevant branch from https://github.com/aquasecurity/vuln-list-k8s to main.

I can do it in my AM tomorrow.

@MadhavJivrajani
Copy link
Contributor

The repo is live here: https://github.com/kubernetes-sigs/cve-feed-osv/ 🎉

After these 2 PRs merge, we can close this out:

@MadhavJivrajani
Copy link
Contributor

/close

This is done now, thanks folks!

@k8s-ci-robot
Copy link
Contributor

@MadhavJivrajani: Closing this issue.

In response to this:

/close

This is done now, thanks folks!

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/github-repo Creating, migrating or deleting a Kubernetes GitHub Repository sig/security Categorizes an issue or PR as relevant to SIG Security.
Projects
Status: In Progress
Development

No branches or pull requests

7 participants