etcdctl: add etcdctl snapshot pipe command

To improve the security of etcdctl. Added the ability to write snapshots to stdout without writing data to disk.

Signed-off-by: Ais8Ooz8 <47941654+Ais8Ooz8@users.noreply.github.com>
This commit is contained in:
Ais8Ooz8 2024-03-26 19:39:35 +03:00 committed by GitHub
parent 2ddb9f40a2
commit fb107ec806
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,7 +48,7 @@ func NewSnapshotSaveCommand() *cobra.Command {
func NewSnapshotPipeCommand() *cobra.Command {
return &cobra.Command{
Use: "pipe",
Short: "Streams an etcd node backend snapshot to STDOUT",
Short: "Streams an etcd node backend snapshot to stdout",
Run: snapshotPipeCommandFunc,
}
}