v0.28.0
·
55 commits
to master
since this release
[gardener/etcd-druid]
⚠️ Breaking Changes
[USER]
The fieldetcd.spec.selector
field is now deprecated. by @Shreyas-s14 [#995][USER]
Scale subresource has been removed fromEtcd
resource until etcd-druid can natively support handling VPA recommendations. by @unmarshall [#988][DEVELOPER]
* API import path has changed, it is now github.com/gardener/etcd-druid/api/core/v1alpha1- Annotation key to reconcile an Etcd cluster has been changed to
druid.gardener.cloud/operation
fromgardener.cloud/operation
by @unmarshall [#988]
- Annotation key to reconcile an Etcd cluster has been changed to
📰 Noteworthy
[USER]
etcd-druid helm charts will now be published as an OCI artifact to a public OCI registry. by @unmarshall [#988][OPERATOR]
cleanup unused older configmaps with the naming formatetcd-bootstrap-UID[:6]
from the cluster. by @anveshreddy18 [#1014][OPERATOR]
Introduces 'Etcdcustom resource validations using CEL expressions. This will be available for kubernetes clusters with version >= 1.29 only. For kubernetes clusters with version < 1.29,
Etcd` CRD will not contain validations using CEL expressions. by @Shreyas-s14 [#995][DEVELOPER]
It is now possible to get the CRDs as string via the go API. by @unmarshall [#988][DEVELOPER]
Programatic access to the CRDs via the API is available using theapi/core/crds/GetAll()
function, which now accepts k8sVersion as a parameter, in order to return the correct CRD, either with CEL validations for k8s versions v1.29 and above, or without CEL validation for k8s versions below 1.29. by @Shreyas-s14 [#995][DEPENDENCY]
With this PR, dependency on utilities from https://github.com/gardener/gardener has been removed. by @unmarshall [#988]
✨ New Features
[DEVELOPER]
Change the GetAll CRD API to return a map with keys having CRD names instead of Kind. by @unmarshall [#1024][OPERATOR]
EtcdCopyBackupTask introduces a new field spec.PodLabels which should be used to setup additional labels on the pod(s) that are started for etcd-copy-backup operation. by @unmarshall [#988][USER]
Generated etcd-druid client is now its own go module. This go module provides access to a typed client for all custom resources introduced in the API go module. This will ensure that consumers will always have a lean dependency weight when using the client. by @unmarshall [#988]
🏃 Others
[DEVELOPER]
Removed the unmaintained support for deployment of etcd-druid via kustomize by @unmarshall [#988][DEVELOPER]
PKI resources required for helm charts are now generated on the fly when running 'make deploy*' targets.
CRDs are no longer checked-in at 2 places. There is a single source of truth for all CRDs and that is 'etcd-druid/api/core/crds'. Prior to using 'make deploy*' targets this will be copied to 'etcd-druid/charts/crds' directory. by @unmarshall [#988][DEVELOPER]
To run use skaffold via 'make deploy*' targets it is no longer required to run 'gcloud auth login' by @unmarshall [#988][DEVELOPER]
It is recommended that consumers of etcd-druid should depend upon the API go module instead of the parent go-module. In go.mod your dependency should be ongithub.com/gardener/etcd-druid/api
. by @unmarshall [#988][DEVELOPER]
Added convenience make targets- 'clean-chart-resources' which will clean up all copied and generated resources prior to using helm charts
- 'prepare-helm-charts' which will prepare the helm charts by copying the CRD yamls and generating the PKI resources for the webhook. by @unmarshall [#988]
[DEVELOPER]
Samples for etcd-druid are now present atetcd-druid/samples
directory by @unmarshall [#988][DEPENDENCY]
Remove the direct depedency ongopkg.in/yaml.v2
. by @renormalize [#1027][OPERATOR]
Update alpine image version to3.21.3
. by @shreyas-s-rao [#1009][OPERATOR]
RemoveUseEtcdWrapper
feature gate since it is now out of GA and always enabled. by @shreyas-s-rao [#999][OPERATOR]
Temporarily removes CEL validations for StorageCapacity to allow users to correctly configure volume size to be at least 3 times that of etcd DB size. by @unmarshall [#1032]
📖 Documentation
[DEVELOPER]
Added a document to describe how to use the etcd-druid helm charts by @unmarshall [#988]
[gardener/etcd-backup-restore]
🐛 Bug Fixes
[USER]
Fixed a bug that caused restoration to fail when the first delta snapshot completely overlap with the latest full snapshot. by @ishan16696 [gardener/etcd-backup-restore#845]
🏃 Others
[DEVELOPER]
Revive e2e tests (previouslyintegrationcluster
tests) and enable them to run with AWS, GCP, AZURE cloud providers and their emulators. by @anveshreddy18 [gardener/etcd-backup-restore#743][DEVELOPER]
Upgrade togo1.23.6
. by @renormalize [gardener/etcd-backup-restore#842]
Helm Charts
- etcd-druid:
europe-docker.pkg.dev/gardener-project/releases/charts/gardener/etcd-druid/etcd-druid:v0.28.0
Docker Images
- etcd-druid:
europe-docker.pkg.dev/gardener-project/releases/gardener/etcd-druid:v0.28.0