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

Add registryctl env secretRef for S3 existingSecret #1545

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

pyratm
Copy link
Contributor

@pyratm pyratm commented Jul 17, 2023

If persistence.imageChartStorage.s3.existingSecret has been set, ensure the there is an envFrom secretRef for the registryctl container. This is already applied to the registry container.

Without this change when an existing S3 secret is used, garbage collection on an S3 bucket fails to successfully delete any blobs because the registryctl container has no valid S3 Auth available to it.

The result of this issue is an ever growing S3 bucket that Harbor does not track because it has removed knowledge of the manifests/blobs during GC.

If s3.existingSecret has been set, ensure the there is an envFrom secretRef for the registryctl container

Signed-off-by: Ian <[email protected]>
@pyratm pyratm force-pushed the registryctl-envfrom-s3-secret branch from a998337 to 6fa51ad Compare July 17, 2023 20:58
@ywk253100 ywk253100 merged commit a8915e7 into goharbor:master Aug 24, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants