Skip to content

Commit

Permalink
fix: set etcd options consistently
Browse files Browse the repository at this point in the history
This fixes an issue introduced in siderolabs#5879: options should be set same way
for both `init` and `controlplane` cases.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
  • Loading branch information
smira authored and sanmai-NL committed Sep 15, 2022
1 parent a4cc195 commit 0f9c434
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/app/machined/pkg/system/services/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 0f9c434

Please sign in to comment.