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

[release 0.65] networkAddonsConfig status, Remove heartbeat #1315

Merged
merged 2 commits into from Mar 30, 2022

Conversation

RamLavi
Copy link
Collaborator

@RamLavi RamLavi commented Mar 29, 2022

What this PR does / why we need it:
This is a manual backport of #1291

Special notes for your reviewer:
related PRs (needed for infra purposes): #1311, #1306
Release note:

Removing `LastHeartbeatTime` field from networkAddonsConfig status

@kubevirt-bot kubevirt-bot added release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. labels Mar 29, 2022
@RamLavi
Copy link
Collaborator Author

RamLavi commented Mar 29, 2022

/hold
Let's wait until #1306 is merged and I rebase

@kubevirt-bot kubevirt-bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/XXL labels Mar 29, 2022
@kubevirt-bot kubevirt-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed release-note-none Denotes a PR that doesn't merit a release note. labels Mar 29, 2022
@qinqon
Copy link
Collaborator

qinqon commented Mar 30, 2022

/lgtm
/approve

@kubevirt-bot kubevirt-bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Mar 30, 2022
@qinqon
Copy link
Collaborator

qinqon commented Mar 30, 2022

@RamLavi can you rebase ?

In order to use SetStatusConditionNoHeartbeat(), bumping to v1.1.2

Signed-off-by: Ram Lavi <ralavi@redhat.com>
Removing LastHeartbeatTime from current status condition since it causes
resourceVersion to rotate every networkAddonsConfig reconcile (~1
minute).
Avoiding duplicate reporting using IsStatusConditionPresentAndEqual()
Moving to Patch method which is better.

Signed-off-by: Ram Lavi <ralavi@redhat.com>
@kubevirt-bot kubevirt-bot removed the lgtm Indicates that a PR is ready to be merged. label Mar 30, 2022
@sonarcloud
Copy link

sonarcloud bot commented Mar 30, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 8 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@RamLavi
Copy link
Collaborator Author

RamLavi commented Mar 30, 2022

@RamLavi can you rebase ?

done

@RamLavi
Copy link
Collaborator Author

RamLavi commented Mar 30, 2022

/retest

@qinqon
Copy link
Collaborator

qinqon commented Mar 30, 2022

/lgtm
/approve

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Mar 30, 2022
@kubevirt-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qinqon

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

@RamLavi
Copy link
Collaborator Author

RamLavi commented Mar 30, 2022

/hold cancel

@kubevirt-bot kubevirt-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 30, 2022
@kubevirt-bot kubevirt-bot merged commit 7bc7137 into kubevirt:release-0.65 Mar 30, 2022
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. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants