diff --git a/bitnami/harbor/CHANGELOG.md b/bitnami/harbor/CHANGELOG.md index 83b1b0f78e..503fe2ee5c 100644 --- a/bitnami/harbor/CHANGELOG.md +++ b/bitnami/harbor/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog -## 26.6.1 (2025-05-30) +## 26.7.0 (2025-06-05) -* [bitnami/harbor] :zap: :arrow_up: Update dependency references ([#33999](https://github.com/bitnami/charts/pull/33999)) +* [bitnami/harbor] feat: add upstream features ([#34111](https://github.com/bitnami/charts/pull/34111)) + +## 26.6.1 (2025-05-30) + +* [bitnami/harbor] :zap: :arrow_up: Update dependency references (#33999) ([3b24559](https://github.com/bitnami/charts/commit/3b245599ec312f2be028821bab86944016661fb5)), closes [#33999](https://github.com/bitnami/charts/issues/33999) ## 26.6.0 (2025-05-30) diff --git a/bitnami/harbor/Chart.yaml b/bitnami/harbor/Chart.yaml index 3e368cbcf6..b6c53dfc47 100644 --- a/bitnami/harbor/Chart.yaml +++ b/bitnami/harbor/Chart.yaml @@ -56,4 +56,4 @@ maintainers: name: harbor sources: - https://github.com/bitnami/charts/tree/main/bitnami/harbor -version: 26.6.1 +version: 26.7.0 diff --git a/bitnami/harbor/README.md b/bitnami/harbor/README.md index 1ed08bd171..90d1f71ce6 100644 --- a/bitnami/harbor/README.md +++ b/bitnami/harbor/README.md @@ -876,6 +876,10 @@ You can enable this initContainer by setting `volumePermissions.enabled` to `tru | `registry.middleware.cloudFront.duration` | CloudFront CDN settings: Duration | `3000s` | | `registry.middleware.cloudFront.ipfilteredby` | CloudFront CDN settings: IP filters | `none` | | `registry.middleware.cloudFront.privateKeySecret` | CloudFront CDN settings: Secret name with the private key | `my-secret` | +| `registry.uploadPurging.enabled` | Enable purging _upload directories | `true` | +| `registry.uploadPurging.age` | Period of time to wait before removing files in _upload directories | `168h` | +| `registry.uploadPurging.interval` | Interval for purging operations | `24h` | +| `registry.uploadPurging.dryrun` | If true, the purge operation will not actually delete files, but will log what would be deleted | `false` | | `registry.tls.existingSecret` | Name of an existing secret with the certificates for internal TLS access | `""` | | `registry.replicaCount` | Number of Harbor Registry replicas | `1` | | `registry.podSecurityContext.enabled` | Enabled Harbor Registry pods' Security Context | `true` | diff --git a/bitnami/harbor/templates/registry/registry-cm.yaml b/bitnami/harbor/templates/registry/registry-cm.yaml index de3db3a70f..c222e00ca8 100644 --- a/bitnami/harbor/templates/registry/registry-cm.yaml +++ b/bitnami/harbor/templates/registry/registry-cm.yaml @@ -163,7 +163,14 @@ data: layerinfo: redis maintenance: uploadpurging: + {{- if .Values.registry.uploadPurging.enabled }} + enabled: true + age: {{ .Values.registry.uploadPurging.age }} + interval: {{ .Values.registry.uploadPurging.interval }} + dryrun: {{ .Values.registry.uploadPurging.dryrun }} + {{- else }} enabled: false + {{- end }} delete: enabled: true redirect: @@ -204,7 +211,9 @@ data: path: /etc/registry/passwd validation: disabled: true - + compatibility: + schema1: + enabled: true {{- if .Values.registry.middleware.enabled }} {{- if eq .Values.registry.middleware.type "cloudFront" }} middleware: diff --git a/bitnami/harbor/values.yaml b/bitnami/harbor/values.yaml index c9286d99ba..42b34c5bbb 100644 --- a/bitnami/harbor/values.yaml +++ b/bitnami/harbor/values.yaml @@ -2495,6 +2495,16 @@ registry: ## that allows access to CloudFront ## privateKeySecret: my-secret + ## @param registry.uploadPurging.enabled Enable purging _upload directories + ## @param registry.uploadPurging.age Period of time to wait before removing files in _upload directories + ## @param registry.uploadPurging.interval Interval for purging operations + ## @param registry.uploadPurging.dryrun If true, the purge operation will not actually delete files, but will log what would be deleted + ## + uploadPurging: + enabled: true + age: 168h + interval: 24h + dryrun: false ## Use TLS in the container ## tls: