Skip to content

Commit

Permalink
fix(platform): remove flag when renew certs (#802)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Ryu committed Oct 12, 2020
1 parent c41fbab commit 9ed4ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/platform/provider/baremetal/phases/kubeadm/kubeadm.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func RenewCerts(s ssh.Interface) error {
return fmt.Errorf("fixKubeadmBug1753(https://github.com/kubernetes/kubeadm/issues/1753) error: %w", err)
}

cmd := fmt.Sprintf("kubeadm alpha certs renew all --config=%s", constants.KubeadmConfigFileName)
cmd := "kubeadm alpha certs renew all"
_, err = s.CombinedOutput(cmd)
if err != nil {
return err
Expand Down

0 comments on commit 9ed4ab9

Please sign in to comment.