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

Reconcile only a few values of KV configmap #577

Merged
merged 1 commit into from
May 27, 2020
Merged

Reconcile only a few values of KV configmap #577

merged 1 commit into from
May 27, 2020

Conversation

tiraboschi
Copy link
Member

@tiraboschi tiraboschi commented May 19, 2020

Reconcile only a few values of KV configmap and only on upgrades

On upgrades only virtconfig.SmbiosConfigKey, virtconfig.MachineTypeKey, virtconfig.SELinuxLauncherTypeKey and "debug.useEmulation"
should be manipulated.
Everything else should keep its value to preserve
user changes.
This is going to happen only during HCO upgrades,
during the lifecycle of the version the user
is still allowed to edit them.

  • use const from config-map.go
  • set also debug.useEmulation according to KVM_EMULATION

Signed-off-by: Simone Tiraboschi [email protected]

Release note:

Reconcile only a few values of KV configmap and only on upgrades

@tiraboschi tiraboschi requested review from orenc1 and nunnatsa May 19, 2020 16:18
@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 May 19, 2020
@kubevirt-bot kubevirt-bot requested review from rwsu and yuvalturg May 19, 2020 16:18
@tiraboschi
Copy link
Member Author

/retest

1 similar comment
@tiraboschi
Copy link
Member Author

/retest

@tiraboschi tiraboschi requested a review from vatsalparekh May 21, 2020 09:48
@tiraboschi
Copy link
Member Author

/ok-to-test

@kubevirt-bot kubevirt-bot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label May 21, 2020
@kubevirt-bot kubevirt-bot added size/XXL needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/M release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed size/S needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XXL release-note-none Denotes a PR that doesn't merit a release note. labels May 22, 2020
@tiraboschi
Copy link
Member Author

Waiting for more unit tests
/hold

@kubevirt-bot kubevirt-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 27, 2020
On upgrades only virtconfig.SmbiosConfigKey,
virtconfig.MachineTypeKey and "selinuxLauncherType"
should be manipulated.
Everything else should keep its value to preserve
user changes.
This is going to happen only during HCO upgrades,
during the lifecycle of the version the user
is still allowed to edit them.

- use const from config-map.go
- set also debug.useEmulation according to KVM_EMULATION

Signed-off-by: Simone Tiraboschi <[email protected]>
@tiraboschi
Copy link
Member Author

/unhold

@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 May 27, 2020
@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label May 27, 2020
@orenc1
Copy link
Collaborator

orenc1 commented May 27, 2020

/approve

@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: orenc1

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

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 27, 2020
@kubevirt-bot kubevirt-bot merged commit 27167a7 into kubevirt:master May 27, 2020
@tiraboschi tiraboschi deleted the fix_kvcm_upgrade branch May 27, 2020 16:29
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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants