Skip to content

Stop redownloading cni#200

Draft
IamTheFij wants to merge 2 commits into
ansible-community:masterfrom
IamTheFij:stop-redownloading-cni
Draft

Stop redownloading cni#200
IamTheFij wants to merge 2 commits into
ansible-community:masterfrom
IamTheFij:stop-redownloading-cni

Conversation

@IamTheFij

Copy link
Copy Markdown

The previous implementation redownloads CNI plugins every run. This compares the sha first.

This depends on #156. I'll rebase and undraft after that is merged.

Before only one sha was being downloaded for checking against even if
each host required a different cni plugin distribution.
…ly installed

This is done by storing the checksum used on the server after
installation. This checksum file is then compared to the local checksum
file for the requested CNI plugins. If they do not match (hash has
changed or version is different), then plugins will be installed or
updated.
@IamTheFij IamTheFij force-pushed the stop-redownloading-cni branch from 681bfc0 to 7179d7e Compare December 3, 2024 21:14
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.

1 participant