SKIP UPGRADE harbor update to 1.17.1-bb.4
Package Merge Request
Package Changes
https://repo1.dso.mil/big-bang/product/packages/harbor/-/blob/1.17.1-bb.4/CHANGELOG.md
Package MR
big-bang/product/packages/harbor!179 (merged)
For Issue
Closes big-bang/product/packages/harbor#135 (closed)
Upgrade Notices
Breaking Changes
- This passthrough upgrade for Harbor tries to make changes to an immutable field in Harbor-Trivy StatefulSets, which are changes in the containerSecurityContext field introduced by the passthrough chart. This can cause the helm upgrade command to fail.
To perform a successful upgrade to the passthrough version of harbor, you must delete the Harbor-Trivy StatefulSets before Performing the upgrade.
Follow these steps to upgrade your Harbor instance:
- Suspend Harbor helmrelease Using flux to suspend harbor hr to prevent reconcile until after the upgrade
flux suspend hr harbor -n bigbang
- Delete the existing Harbor-Trivy StatefulSets. This will prevent the upgrade from failing due to immutable field errors.
kubectl delete statefulset harbor-trivy -n harbor
- Upgrade Big Bang. Run your standard upgrade procedure for your Big Bang cluster.
Upgrade Big Bang
- Resume Harbor helmrelease Using flux to resume harbor hr to reconcile after the upgrade
flux resume hr harbor -n bigbang --timeout 10m
Edited by Joe Foster