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

[CORE-9942] Verify calico cni binary contents instead of executing 'calico -v' #8517

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

coutinhop
Copy link
Contributor

@coutinhop coutinhop commented Feb 16, 2024

Description

Related issues/PRs

Todos

  • Tests
  • Documentation
  • Release note

Release Note

TBD

Reminder for the reviewer

Make sure that this PR has the correct labels and milestone set.

Every PR needs one docs-* label.

  • docs-pr-required: This change requires a change to the documentation that has not been completed yet.
  • docs-completed: This change has all necessary documentation completed.
  • docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

  • release-note-required: This PR has user-facing changes. Most PRs should have this label.
  • release-note-not-required: This PR has no user-facing changes.

Other optional labels:

  • cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
  • needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

@coutinhop coutinhop added docs-not-required Docs not required for this change release-note-not-required Change has no user-facing impact labels Feb 16, 2024
@coutinhop coutinhop self-assigned this Feb 16, 2024
@coutinhop coutinhop requested a review from a team as a code owner February 16, 2024 04:55
@marvin-tigera marvin-tigera added this to the Calico v3.28.0 milestone Feb 16, 2024
@coutinhop coutinhop changed the title [CORE-9942] Verify calico cni binary contents instead of executing 'c… [CORE-9942] Verify calico cni binary contents instead of executing 'calico -v' Feb 16, 2024
…alico -v'

'destinationUptoDate()' compares the files byte for byte,
so if they’re exactly the same, it’s equivalent to running
'calico -v'
@coutinhop coutinhop merged commit 4dd02ad into projectcalico:master Feb 16, 2024
2 checks passed
@coutinhop coutinhop deleted the pedro-CORE-9942-1 branch February 16, 2024 19:20
coutinhop added a commit that referenced this pull request Feb 21, 2024
…elease-v3.27

[release-v3.27] Auto pick #8517: Verify calico cni binary contents instead of
coutinhop added a commit that referenced this pull request Feb 26, 2024
…ream-release-v3.26

[release-v3.26] Auto pick #8447: Improvements to cni-plugin binaries #8517: Verify calico cni binary contents instead of
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required Docs not required for this change release-note-not-required Change has no user-facing impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants