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

cli: do not recreate os disk during upgrade by keeping Azure ConfidentialVM setting during upgrade #2113

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

malt3
Copy link
Contributor

@malt3 malt3 commented Jul 18, 2023

Context

The ConfidentialVM option was never set when applying terraform migrations, leading to it being default initialized as false.
This in turn leads to the upgrade trying to change the settings for node groups on Azure from confidential VMs to non-confidential VMs.

Proposed change(s)

  • cli: set Azure ConfidentialVM option in terraform vars when migrating

Checklist

  • Update docs
  • Add labels (e.g., for changelog category)
  • Is PR title adequate for changelog?
  • Link to Milestone

@malt3 malt3 added bug fix Fixing a bug needs backport This PR needs to be backported to a previous release labels Jul 18, 2023
@malt3 malt3 added this to the v2.10.0 milestone Jul 18, 2023
@netlify

This comment was marked as off-topic.

@derpsteb
Copy link
Member

For visibility: there will be another PR to handle Terraform variables similarly in create and upgrade.

@malt3 malt3 merged commit f597c12 into main Jul 18, 2023
5 checks passed
@malt3 malt3 deleted the fix/cli/set-azure-cvm-option-on-terraform-migrations branch July 18, 2023 08:30
@malt3 malt3 changed the title cli: set Azure ConfidentialVM option in terraform vars when migrating keep Azure ConfidentialVM setting during upgrade Jul 18, 2023
@derpsteb derpsteb changed the title keep Azure ConfidentialVM setting during upgrade cli: keep Azure ConfidentialVM setting during upgrade Jul 20, 2023
@derpsteb derpsteb changed the title cli: keep Azure ConfidentialVM setting during upgrade cli: do not recreate os disk during upgrade by keeping Azure ConfidentialVM setting during upgrade Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Fixing a bug needs backport This PR needs to be backported to a previous release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants