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

feat: do not download reference CNI plugins #4597

Merged
merged 20 commits into from
Jul 25, 2024
Merged

Conversation

paulgmiller
Copy link
Member

What type of PR is this?
Feature (kind of more removing a feature)

What this PR does / why we need it:
Reference CNI plugins were formally able to be downloaded from a share however this just caused out of sync issues and was not really used since a node image upgrade was still required. This just always uses the version cached on the vhd

Very open to suggestions on which components.json is used, if it should cache arm64 and amd64 and how to not have to sync vesions between compoennts.json and cse.sh.

Which issue(s) this PR fixes:
none

Requirements:

Special notes for your reviewer:

Release note:

none

@cameronmeissner cameronmeissner changed the title [feature] Do not download reference CNI plugins feat: do not download reference CNI plugins Jul 8, 2024
@cameronmeissner
Copy link
Collaborator

also, check-generated is sad, you need a make generate from repo root


# Is there a ${arch} variable I can use instead of the iff
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems CPU_ARCH will already be defined at the global scope during build, though I guess installCNI will only ever be called at runtime after Devin's changes

Copy link
Collaborator

@Devinwong Devinwong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@paulgmiller paulgmiller enabled auto-merge (squash) July 25, 2024 22:47
@paulgmiller paulgmiller merged commit 875dfb7 into master Jul 25, 2024
21 checks passed
@paulgmiller paulgmiller deleted the pmiller/refcni branch July 25, 2024 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants