UNCLASSIFIED - NO CUI

Skip to content

SKIP UPGRADE Configure harbor chart for passthrough

General MR

Summary

Configuring Harbor chart for passthrough

Umbrella Branch

afarasoteemo-harbor-passthrough

Relevant logs/screenshots

image image image image

Linked Issue

BB issue link harbor issue 135

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:

  1. 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
  1. Run the Helm upgrade command. This command will upgrade your Harbor instance and create a new, compatible StatefulSets for harbor-trivy
 helm upgrade -i harbor ./chart -n harbor
Edited by Sarafa Lawal

Merge request reports

Loading