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

[PM] Fix deployment strategy #508

Merged
merged 5 commits into from
May 22, 2024
Merged

[PM] Fix deployment strategy #508

merged 5 commits into from
May 22, 2024

Conversation

calebAtIspot
Copy link
Contributor

fixes #424

It also fixes a bug where ArgoCD is unable to update the deployment when the strategy type is recreate.

error when patching "/dev/shm/2215103101": Deployment.apps "rstudio-packagemanager-rstudio-pm" is invalid: 

spec.strategy.rollingUpdate: Forbidden: may not be specified when strategy `type` is 'Recreate'

@CLAassistant
Copy link

CLAassistant commented May 19, 2024

CLA assistant check
All committers have signed the CLA.

@calebAtIspot
Copy link
Contributor Author

Also if you're wondering why I don't just pass in null for the rollingUpdate value when I call the chart, it's because of helm/helm#12637

@tnederlof
Copy link
Contributor

Thank you @calebAtIspot I went through the changes and think they make sense as this would bring PPM inline with Workbench and Connect's charts and the default values are for RollingUpdate so the desired default should still work. @atheriel

Copy link
Collaborator

@atheriel atheriel left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you for the contribution!

@tnederlof tnederlof requested a review from a team as a code owner May 22, 2024 18:16
@atheriel atheriel merged commit 9d597c3 into rstudio:main May 22, 2024
5 of 6 checks passed
@calebAtIspot calebAtIspot deleted the patch-1 branch May 22, 2024 19:51
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.

Inconsistent behavior across charts
4 participants