Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow customize kubernetes, cni source #16

Merged
merged 1 commit into from
Aug 14, 2019

Conversation

figo
Copy link
Contributor

@figo figo commented Aug 13, 2019

the image-builder tool getting kubernetes, cni from two source types:

  1. rpm, deb repos, container registry
  2. binary download site

the default behavior does not change, still getting them from upstream rpm, deb repo and k8s. gcr.io. this change enable us to configure rpm,deb source and binary source for kuberentes, cni

note: one more change needed to allow customize container registry for k8s images.

Signed-off-by: Hui Luo luoh@vmware.com

cc @codenrhoden @akutz @moshloop @timothysc

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 13, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: figo

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 the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 13, 2019
the image-builder tool getting kubernetes, cni from two types of source:
1) rpm, deb repos, container registry
2) binary download site

the default behaviour does not change, still getting them from upstream
rpm, deb repo and k8s. gcr.io. this change enable us to configure rpm,
deb source and binary source for kuberentes, cni

one more change needed to allow configure container registry source.

nit: Set packer variable default to null so that it report error if
user does not set those vars, those vars need be set through json

Signed-off-by: Hui Luo <luoh@vmware.com>
@figo figo force-pushed the artifacts-source branch from cf8a9a0 to a8866d5 Compare August 14, 2019 14:46
@akutz
Copy link
Contributor

akutz commented Aug 14, 2019

/lgtm

# for free to join this conversation on GitHub. Already have an account? # 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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants