Reason: ReconcileFailed. Message: kapp: Error: update persistentvolumeclaim/harbor-registry (v1) namespace: svc-harbor-[id]: Updating resource persistentvolumeclaim/harbor-registry (v1) namespace: svc-harbor-[id]: API server says: PersistentVolumeClaim "harbor-registry" is invalid: spec.resources.requests.storage: Forbidden: field can not be less than status.capacity (reason: Invalid).VMware Cloud Foundation Automation (VCFA) 9.1
vCenter Server 9.1
vSphere Kubernetes Supervisor
Harbor Supervisor Service 2.14.2
When Harbor is deployed as a Supervisor Service via VMware Cloud Foundation Automation (VCFA), VCFA acts as the ultimate upstream source of truth for the deployment's configuration. Manual edits to the YAML data values in the vCenter Supervisor Services UI or PVC modifications directly in Kubernetes are detected as configuration drift by downstream controllers. VCFA subsequently overrides these manual changes with its own stored state to enforce compliance. Because the manual edit expanded the underlying Kubernetes PVC, the rollback attempts to re-apply the original, smaller storage capacity. The Kubernetes API natively rejects attempts to shrink a PVC, causing the kapp-controller to fail the reconciliation loop with the observed Forbidden error.
To successfully apply configuration changes to the Harbor Supervisor Service without triggering a rollback or reconciliation failure, you must update the configuration at the top-level source of truth. Do not edit the configuration in the vSphere Client or via kubectl.
Log in to the VMware Cloud Foundation Automation (VCFA) console.
Navigate to the deployed Harbor Supervisor Service instance.
Select the Edit action for the Harbor deployment.
Update the required data values, such as the new hostname or the expanded storage capacity.
Save and submit the changes.