fix: set etcd options consistently

This fixes an issue introduced in #5879: options should be set same way
for both `init` and `controlplane` cases.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
This commit is contained in:
Andrey Smirnov 2022-09-14 22:56:26 +04:00
parent 92ae7ef4b1
commit 94b088f02f
No known key found for this signature in database
GPG Key ID: 7B26396447AB6DFD

View File

@ -484,6 +484,7 @@ func (e *Etcd) argsForControlPlane(ctx context.Context, r runtime.Runtime, spec
"peer-key-file": constants.EtcdPeerKey,
"peer-trusted-ca-file": constants.EtcdCACert,
"experimental-initial-corrupt-check": "true",
"experimental-watch-progress-notify-interval": "5s",
}
extraArgs := argsbuilder.Args(r.Config().Cluster().Etcd().ExtraArgs())