Releases: gardener/gardener-extension-registry-cache
Releases · gardener/gardener-extension-registry-cache
v0.12.0
[gardener/gardener-extension-registry-cache]
🐛 Bug Fixes
[DEVELOPER]
An issue causingmake extension-up
to fail to patch the ControllerDeployment is now mitigated. by @ialidzhikov [#277][DEVELOPER]
An issue causingmake extension-up
to do NOT generate a new tag for local source code changes is now fixed. by @ialidzhikov [#279]
🏃 Others
[OPERATOR]
The following Distribution issue distribution/distribution#4478 is now mitigated. by @dimitar-kostadinov [#292][OPERATOR]
The extension and admission charts do no longer specify VPA maxAllowed values by default. You can still configure maxAllowed values, if needed. by @ialidzhikov [#296][DEVELOPER]
The parallel execution of e2e tests is increase from 2 to 3 to speed up the e2e test execution times. by @ialidzhikov [#280][DEVELOPER]
gosec
is made available for SAST(static application security testing). It can be run withmake sast
ormake sast-report
, but is also incorporated in theverify
andverify-extended
makefile targets. by @Kostov6 [#272]
Helm Charts
- admission-registry-cache-application:
europe-docker.pkg.dev/gardener-project/releases/charts/gardener/extensions/admission-registry-cache-application:v0.12.0
- admission-registry-cache-runtime:
europe-docker.pkg.dev/gardener-project/releases/charts/gardener/extensions/admission-registry-cache-runtime:v0.12.0
- registry-cache:
europe-docker.pkg.dev/gardener-project/releases/charts/gardener/extensions/registry-cache:v0.12.0
Docker Images
- gardener-extension-registry-cache-admission:
europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/registry-cache-admission:v0.12.0
- gardener-extension-registry-cache:
europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/registry-cache:v0.12.0
v0.11.0
[gardener/gardener-extension-registry-cache]
⚠️ Breaking Changes
[OPERATOR]
The specification of theimage
ingardener-extension-registry-cache
Helm chart has been changed. by @oliver-goetz [#229]
✨ New Features
[OPERATOR]
Helm charts of extension and admission controller are published as OCI artifacts now. by @oliver-goetz [#229][OPERATOR]
All container images are built forlinux/amd64
andlinux/arm64
now. by @oliver-goetz [#229]
🐛 Bug Fixes
[OPERATOR]
The monitoring resources (dashboards ConfigMap, PrometheusRule, ScrapeConfig) are now deleted when the Extension is deleted. by @ialidzhikov [#268]
🏃 Others
[DEVELOPER]
e2e tests are no longer using test images from public ECR as the Distribution project cannot pull blobs from it. by @dimitar-kostadinov [#254][DEVELOPER]
The verification in the e2e test is enhanced to check that all image layers of an image are present in the registry cache storage. by @dimitar-kostadinov [#255][DEVELOPER]
A new e2e test that covers upstream registries with credentials is now added. by @dimitar-kostadinov [#184][DEVELOPER]
The golang version is updated to 1.23.0. by @dependabot[bot] [#239]
Helm Charts
- admission-registry-cache-application:
europe-docker.pkg.dev/gardener-project/releases/charts/gardener/extensions/admission-registry-cache-application:v0.11.0
- admission-registry-cache-runtime:
europe-docker.pkg.dev/gardener-project/releases/charts/gardener/extensions/admission-registry-cache-runtime:v0.11.0
- registry-cache:
europe-docker.pkg.dev/gardener-project/releases/charts/gardener/extensions/registry-cache:v0.11.0
Docker Images
- gardener-extension-registry-cache-admission:
europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/registry-cache-admission:v0.11.0
- gardener-extension-registry-cache:
europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/registry-cache:v0.11.0
v0.10.0
[gardener/gardener-extension-registry-cache]
⚠️ Breaking Changes
[OPERATOR]
The legacy method of providing monitoring configuration viaConfigMap
s labeled withextensions.gardener.cloud/configuration=monitoring
has been removed. The extension does now only uses the new contract for providing monitoring configuration. Before upgrading to this version of the extension, make sure that the deployed Gardener version supports the new monitoring contract. by @dimitar-kostadinov [#237]
📰 Noteworthy
[DEVELOPER]
Thecontainerd
registry configurationhosts.toml
files are now created using the OpetingSystemConfig CRI API. by @dimitar-kostadinov [#227]
🏃 Others
[OPERATOR]
ApriorityClassName
can now be set for the admission deployment via theadmission
Helm chart. by @timuthy [#222][OPERATOR]
The registry-cache admission validation is skipped when no semantic change inproviderConfig
is detected. by @dimitar-kostadinov [#210][OPERATOR]
The following image is updated:europe-docker.pkg.dev/gardener-project/releases/3rd/registry
: 3.0.0-alpha.1 -> 3.0.0-beta.1 by @ialidzhikov [#224]
Docker Images
- gardener-extension-registry-cache-admission:
europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/registry-cache-admission:v0.10.0
- gardener-extension-registry-cache:
europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/registry-cache:v0.10.0
v0.9.0
[gardener/gardener-extension-registry-cache]
⚠️ Breaking Changes
[USER]
Theregistry.extensions.gardener.cloud/v1alpha2
API version is removed. Useregistry.extensions.gardener.cloud/v1alpha3
instead. by @ialidzhikov [#165][OPERATOR]
Theregistry.extensions.gardener.cloud/v1alpha2
API version is removed. Before upgrading to this version, make sure that there are no usages of theregistry.extensions.gardener.cloud/v1alpha2
API version in the landscape. by @ialidzhikov [#165]
📰 Noteworthy
[USER]
The registry cache StatefulSets for registries withupstream
host with more than 43 chars will be recreated. Only the StatefulSet will be recreated, the underlying PVC remains the same. by @dimitar-kostadinov [#186]
🏃 Others
[OPERATOR]
This extension is now using the new way of providing monitoring configuration (ref GEP-19) in case a shoot cluster's Prometheus has been migrated to management viaprometheus-operator
. by @ialidzhikov [#187][OPERATOR]
Theupstream
fields in the registry-mirror and registry-cache APIs now support optional port (e.g.example.io:5000
). by @dimitar-kostadinov [#183][OPERATOR]
A new optionalremoteURL
field in the registry-cache API allows specifying the URL of the upstream registry (e.g.http://example.io:5000
). by @dimitar-kostadinov [#183][OPERATOR]
The registry-cache extension does now support the Deploying Gardener Locally and Enabling Provider-Extensions local setup. by @dimitar-kostadinov [#193]
Docker Images
- gardener-extension-registry-cache-admission:
europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/registry-cache-admission:v0.9.0
- gardener-extension-registry-cache:
europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/registry-cache:v0.9.0
v0.8.0
[gardener/gardener-extension-registry-cache]
⚠️ Breaking Changes
[OPERATOR]
registry-cache
extension no longer supports Shoots with Кubernetes version == 1.24. by @shafeeqes [#121]
🐛 Bug Fixes
[OPERATOR]
Fixed an issue where theextension-registry-configuration-cleaner
ManagedResource could block Shoot deletion if theregistry-cache
extension was disabled before the Shoot deletion was triggered, and disabling the extension failed while trying to deploy the said ManagedResource and wait for it to become ready. by @ialidzhikov [#173]
🏃 Others
[OPERATOR]
Registry configuration optionhttp.draintimeout
is set to 25 seconds to activate registry graceful shutdown. by @dimitar-kostadinov [#162][OPERATOR]
The registry-cache extension defines recording rules (shoot:registry_proxy_pushed_bytes_total:sum
andshoot:registry_proxy_pulled_bytes_total:sum
) that are federated in the Seed cluster's aggregate prometheus and also in the prometheus in the runtime cluster. These rules make possible to query registry-cache related metrics from the prometheus in the runtime cluster and in this way get an overview for given set of Shoot clusters. by @ialidzhikov [#169]
Docker Images
- gardener-extension-registry-cache-admission:
europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/registry-cache-admission:v0.8.0
- gardener-extension-registry-cache:
europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/registry-cache:v0.8.0
v0.7.1
[gardener/gardener-extension-registry-cache]
🏃 Others
[OPERATOR]
An issue causing the test execution command in the TestDefinition to fail is now fixed. by @ialidzhikov [#161]
Docker Images
- gardener-extension-registry-cache-admission:
europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/registry-cache-admission:v0.7.1
- gardener-extension-registry-cache:
europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/registry-cache:v0.7.1
v0.7.0
[gardener/gardener-extension-registry-cache]
⚠️ Breaking Changes
[USER]
Theregistry.extensions.gardener.cloud/v1alpha2
API version is deprecated. See Migration fromv1alpha2
tov1alpha3
on how to migrate fromregistry.extensions.gardener.cloud/v1alpha2
toregistry.extensions.gardener.cloud/v1alpha3
. by @ialidzhikov [#144][USER]
Theregistry.extensions.gardener.cloud/v1alpha1
API version is removed. Useregistry.extensions.gardener.cloud/v1alpha2
instead. by @ialidzhikov [#141][OPERATOR]
Theregistry.extensions.gardener.cloud/v1alpha1
API version is removed. Before upgrading to this version, make sure that there are no usages of theregistry.extensions.gardener.cloud/v1alpha1
API version in the landscape. by @ialidzhikov [#141]
✨ New Features
[USER]
The registry-cache extension introduces a new API versionregistry.extensions.gardener.cloud/v1alpha3
. In the new API version the garbage collection TTL is configurable. Previously, the TTL was hard-coded internally in the Distribution project to168h
(7 days). In the latest version (3.0.0) of Distribution project it is configurable. by @ialidzhikov [#144][OPERATOR]
Panels for the registry caches are now available inRegistry Caches
plutono dashboard. by @dimitar-kostadinov [#110]
🏃 Others
[DEVELOPER]
Thevendor
directory was removed in favor of thego mod cache
. by @ialidzhikov [#147][DEVELOPER]
The repository is now using REUSE license format. by @ialidzhikov [#146][DEVELOPER]
The golang version is updated to 1.22.0. by @dependabot[bot] [#139]
Docker Images
- gardener-extension-registry-cache-admission:
europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/registry-cache-admission:v0.7.0
- gardener-extension-registry-cache:
europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/registry-cache:v0.7.0
v0.6.0
[gardener/gardener-extension-registry-cache]
✨ New Features
[USER]
The registry-cache extension now supports an API to configure containerd registry mirrors. For more details, see Configuring the Registry Mirror Extension. by @ialidzhikov [#134]
🏃 Others
[OPERATOR]
The following image is updated:europe-docker.pkg.dev/gardener-project/releases/3rd/registry
: 2.8.3 -> 3.0.0-alpha.1 by @ialidzhikov [#138]
[OPERATOR]
Theconfigure-containerd-registries
unit combines linear and exponential backoff retry strategies to configure containerd registry hosts as early as possible. This way, the deployed registry cache is ready for use, eventually before the Node status is Ready. by @dimitar-kostadinov [#137][DEPENDENCY]
The following dependency is updated:github.com/gardener/gardener
: v1.86.0 -> v1.87.0 by @dependabot[bot] [#132]
[DEPENDENCY]
The following dependency is updated:github.com/gardener/gardener
: v1.87.2 -> v1.88.0 by @dependabot[bot] [#145]
Docker Images
- gardener-extension-registry-cache-admission:
europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/registry-cache-admission:v0.6.0
- gardener-extension-registry-cache:
europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/registry-cache:v0.6.0
v0.5.0
[gardener/gardener-extension-registry-cache]
⚠️ Breaking Changes
[USER]
It is now forbidden to enable garbage collection for a cache once it is disabled. This constraint is added to mitigate distribution/distribution#4249. by @ialidzhikov [#131][OPERATOR]
CA and server certificates for the admission component are managed automatically. Passing custom certificates via Helm values is not supported anymore. by @ialidzhikov [#122][OPERATOR]
The OCI Image Registry is changed from GCR (eu.gcr.io/gardener-project/gardener/extensions/{registry-cache,registry-cache-admission}
) to Artifact-Registry (europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/{registry-cache,registry-cache-admission}
). Users should update their references. by @ccwienk [#113]
📰 Noteworthy
[USER]
The cache upstream is now required to be a a valid DNS subdomain (RFC 1123). by @ialidzhikov [#130]
🐛 Bug Fixes
[OPERATOR]
An issue in the Distribution project that causes in-used blob to be wrongly deleted during GC of an image layer which later on causes the images that reference this blob to fail to be pulled is now mitigated. by @ialidzhikov [#128][USER]
An issue causing the registry StatefulSet to fail to create Pods for registry caches with long upstreams is now mitigated. by @ialidzhikov [#129]
🏃 Others
[DEPENDENCY]
The following dependency is updated:github.com/gardener/gardener
: v1.85.1 -> v1.86.0 by @dependabot[bot] [#115]
[DEPENDENCY]
The following dependency is updated:github.com/gardener/gardener
: v1.84.2 -> v1.85.1 by @ialidzhikov [#122]
[OPERATOR]
A flake in theshould enable and disable the registry-cache extension
testmachinery test is now fixed. by @ialidzhikov [#123]
Docker Images
- gardener-extension-registry-cache-admission:
europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/registry-cache-admission:v0.5.0
- gardener-extension-registry-cache:
europe-docker.pkg.dev/gardener-project/releases/gardener/extensions/registry-cache:v0.5.0
v0.4.0
[gardener/gardener-extension-registry-cache]
⚠️ Breaking Changes
[USER]
Theregistry.extensions.gardener.cloud/v1alpha1
API version is deprecated. See Migration fromv1alpha1
tov1alpha2
on how to migrate fromregistry.extensions.gardener.cloud/v1alpha1
toregistry.extensions.gardener.cloud/v1alpha2
. by @ialidzhikov [#101]
✨ New Features
[USER]
The registry-cache extension introduces a new API versionregistry.extensions.gardener.cloud/v1alpha2
. In the new API version the StorageClass name of the registry cache volume is configurable. Previously, it was hard-coded to the StorageClass nameddefault
. by @ialidzhikov [#101][OPERATOR]
Metrics for registry cache persistent volumes are exposed in theRegistry Caches
plutono dashboard. by @dimitar-kostadinov [#112]
🐛 Bug Fixes
[OPERATOR]
An issue causing control plane migration for a Shoot with registry-cache extension enabled to fail is now fixed. by @ialidzhikov [#114][DEVELOPER]
An issue causing the testmachinery test to fail against an arm64 Shoot is now resolved. by @ialidzhikov [#118][DEVELOPER]
An issue causing the testmachinery test to fail against an alicloud Shoot is now resolved. by @ialidzhikov [#117]
🏃 Others
[OPERATOR]
The type of theconfigure-containerd-registries.service
units is changed fromoneshot
tosimple
. by @ialidzhikov [#109]
Docker Images
- gardener-extension-registry-cache-admission:
eu.gcr.io/gardener-project/gardener/extensions/registry-cache-admission:v0.4.0
- gardener-extension-registry-cache:
eu.gcr.io/gardener-project/gardener/extensions/registry-cache:v0.4.0