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

Refactor networking assets finder #9665

Merged
merged 1 commit into from
Aug 2, 2020

Conversation

hakman
Copy link
Member

@hakman hakman commented Aug 2, 2020

Most notable changes are:

  • extract the LyftVPC assets finder to separate function (similar to the CNI one)
  • add test for the new function and update previous ones
  • use SHA from repo for the CNI asset finder (similar to the kubelet one)
    // TODO - remove this method as CNI does now have a SHA file

Note: All file assets can be remapped using Spec.Assets.FileRepository, so maybe we should remove some of these env vars like CNI_VERSION_URL and LYFT_VPC_DOWNLOAD_URL .

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 2, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 2, 2020
@hakman
Copy link
Member Author

hakman commented Aug 2, 2020

@rifelpet Spec.Assets.FileRepository could make offline usage much simpler, especially if Docker and Containerd packages can be moved here.

@hakman hakman requested a review from rifelpet August 2, 2020 12:49
@hakman hakman force-pushed the networking-assets branch from 66fe8e9 to e439684 Compare August 2, 2020 19:37
@hakman hakman requested a review from johngmyers August 2, 2020 19:37
@johngmyers
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 2, 2020
@k8s-ci-robot k8s-ci-robot merged commit 2131c31 into kubernetes:master Aug 2, 2020
@k8s-ci-robot k8s-ci-robot added this to the v1.19 milestone Aug 2, 2020
@hakman hakman deleted the networking-assets branch August 3, 2020 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants