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

persistent volume and option to deploy to the same VM #2211

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

zkokelj
Copy link
Contributor

@zkokelj zkokelj commented Dec 17, 2024

Why this change is needed

At the moment when we redeploy TEN Gateway we delete and recreate whole VM which deletes also the volume where the encryption key is sealed. Since we store certificates in cosmosDB encrypted and we don't get the encryption key from previous version of the gateway we cannot read old certificates resulting in certificate error.

What changes were made as part of this PR

New option when deploying to redeploy to the same VM (volume and sealed encryption key stays there) so we can easily redeploy the gateway without issues with the certificate.
Since we don't need to delete and recreate VM on Azure it also reduces deployment time. In case we want to make fresh deployment when we have some larger changes we can still do it by selecting it in github actions.

PR checks pre-merging

Please indicate below by ticking the checkbox that you have read and performed the required
PR checks

  • PR checks reviewed and performed

@pkrishnath
Copy link
Contributor

LGTM

Copy link
Contributor

@pkrishnath pkrishnath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zkokelj zkokelj merged commit 0867530 into main Dec 18, 2024
2 checks passed
@zkokelj zkokelj deleted the ziga/gateway_persistent_volume_after_redeploy branch December 18, 2024 13:59
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.

2 participants