Skip to content

Ensure nginx distruption budgets are replaced when minAvailable changes

DJ Mountney requested to merge update-nginx-pdb into master

What does this MR do?

Followup to !1635 (merged) where we changed the default pdb for nginx. This breaks during upgrade as pdbs are immutable. (The pipeline failed in master during upgrade, but followup pipeline deleted and re-created the review app)

This MR updates the pdb name to be based on the number of minAvailable, and we rely on helm deleting the old named versions.

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion.

Required

  • Merge Request Title and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Tests added
  • Integration tests added to GitLab QA
  • Equivalent MR/issue for omnibus-gitlab opened

Merge request reports