gardener / etcd-backup-restore

Collection of components to backup and restore the etcd of a Kubernetes cluster.
Apache License 2.0
287 stars 100 forks source link

[Enhancement] Drop support of passing credentials to etcd-backup-restore through a JSON file #741

Open renormalize opened 5 months ago

renormalize commented 5 months ago

Enhancement (What you would like to be added):

Currently there are two ways of passing credentials to etcd-backup-restore, which are:

The intent is to drop support to pass credentials through the JSON format, and only support individual fields in a Secret (consumed as individual files in a directory by etcd-backupr-restore).

Motivation (Why is this needed?):

There was confusion in the community regarding how credentials are passed to etcd-backup-restore, and it was decided to only allow one way of passing credentials, as discussed in https://github.com/gardener/etcd-backup-restore/issues/729#issuecomment-2081330753.

Approach/Hint to the implement solution (optional):

Remove all code that enables the passing of credentials as a JSON file in etcd-backup-restore.