8000 Release v0.28.0 · gardener/etcd-druid · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

v0.28.0

Compare
Choose a tag to compare
@gardener-robot-ci-1 gardener-robot-ci-1 released this 17 Mar 08:09
· 55 commits to master since this release

[gardener/etcd-druid]

⚠️ Breaking Changes

  • [USER] The field etcd.spec.selector field is now deprecated. by @Shreyas-s14 [#995]
  • [USER] Scale subresource has been removed from Etcd 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 from gardener.cloud/operation by @unmarshall [#988]

📰 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 format etcd-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 the api/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 on github.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 at etcd-druid/samples directory by @unmarshall [#988]
  • [DEPENDENCY] Remove the direct depedency on gopkg.in/yaml.v2. by @renormalize [#1027]
  • [OPERATOR] Update alpine image version to 3.21.3. by @shreyas-s-rao [#1009]
  • [OPERATOR] Remove UseEtcdWrapper 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

🏃 Others

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
0